{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/ashutosh/Desktop/SenateCommitteeAssignments.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 2 Jun 2025, 10:31:28

{com}. do "/Users/ashutosh/Desktop/Submissions/Matching Politicians/PSRM Replication Files/SenateCommitteeAssignments.do"
{txt}
{com}. // This file replicates Tables A5, A7, A8, A6, and Figure C1
. 
. 
. clear
{txt}
{com}. // Download the Senate Committee Assignments data
. use SenateChamberSeniorityAtAssignment.dta
{txt}
{com}. 
. *************************************************************************************
. ** Tables A5 and A7 data **
. *************************************************************************************
. 
. 
. * Agriculture Committee
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Agriculture, Nutrition, and Forestry"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         25        3.24         3.8          1         17
{txt}
{com}. matrix stats_R_Agriculture = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_Agriculture
{res}
{txt}stats_R_Agriculture[1,4]
           c1         c2         c3         c4
r1 {res}      3.24        3.8         25  .85263158
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Agriculture, Nutrition, and Forestry"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         19    1.842105     2.43272          1         11
{txt}
{com}. matrix stats_D_Agriculture = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_Agriculture
{res}
{txt}stats_D_Agriculture[1,3]
           c1         c2         c3
r1 {res} 1.8421053  2.4327204         19
{reset}
{com}. 
. matrix Stats_Agriculture = stats_R_Agriculture, stats_D_Agriculture
{txt}
{com}. matrix Stats_Agriculture = Stats_Agriculture, (stats_R_Agriculture[1,1] - stats_D_Agriculture[1,1])
{txt}
{com}. matrix Stats_Agriculture = Stats_Agriculture, (Stats_Agriculture[1,8]/sqrt(Stats_Agriculture[1,2]^2/Stats_Agriculture[1,3]+ Stats_Agriculture[1,6]^2/Stats_Agriculture[1,7]))
{txt}
{com}. matrix Stats_Agriculture = Stats_Agriculture, (Stats_Agriculture[1,2] - Stats_Agriculture[1,6])
{txt}
{com}. matrix list Stats_Agriculture
{res}
{txt}Stats_Agriculture[1,10]
           c1         c2         c3         c4         c1         c2         c3
r1 {res}      3.24        3.8         25  .85263158  1.8421053  2.4327204         19

{txt}           c8         c9        c10
r1 {res} 1.3978947  1.4825315  1.3672796
{reset}
{com}. 
. 
. * Appropriations Committee
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Appropriations"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         29    4.448276    3.202524          1         11
{txt}
{com}. matrix stats_R_Appropriations = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_Appropriations
{res}
{txt}stats_R_Appropriations[1,4]
           c1         c2         c3         c4
r1 {res} 4.4482759  3.2025236         29  1.3889908
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Appropriations"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         19    4.368421    1.498537          1          7
{txt}
{com}. matrix stats_D_Appropriations = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_Appropriations
{res}
{txt}stats_D_Appropriations[1,3]
           c1         c2         c3
r1 {res} 4.3684211  1.4985373         19
{reset}
{com}. 
. matrix Stats_Appropriations = stats_R_Appropriations, stats_D_Appropriations
{txt}
{com}. matrix Stats_Appropriations = Stats_Appropriations, (stats_R_Appropriations[1,1] - stats_D_Appropriations[1,1])
{txt}
{com}. matrix Stats_Appropriations = Stats_Appropriations, (Stats_Appropriations[1,8]/sqrt(Stats_Appropriations[1,2]^2/Stats_Appropriations[1,3]+ Stats_Appropriations[1,6]^2/Stats_Appropriations[1,7]))
{txt}
{com}. matrix Stats_Appropriations= Stats_Appropriations, (Stats_Appropriations[1,2] - Stats_Appropriations[1,6])
{txt}
{com}. matrix list Stats_Appropriations
{res}
{txt}Stats_Appropriations[1,10]
           c1         c2         c3         c4         c1         c2         c3
r1 {res} 4.4482759  3.2025236         29  1.3889908  4.3684211  1.4985373         19

{txt}           c8         c9        c10
r1 {res} .07985481  .11625154  1.7039863
{reset}
{com}. 
. 
. 
. * Armed Services
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Armed Services"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         36    1.833333    1.108409          1          5
{txt}
{com}. matrix stats_R_armedservices = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_armedservices
{res}
{txt}stats_R_armedservices[1,4]
           c1         c2         c3         c4
r1 {res} 1.8333333  1.1084094         36  1.6540218
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Armed Services"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         27    2.555556      2.8465          1         11
{txt}
{com}. matrix stats_D_armedservices = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_armedservices
{res}
{txt}stats_D_armedservices[1,3]
           c1         c2         c3
r1 {res} 2.5555556  2.8465003         27
{reset}
{com}. 
. matrix Stats_armedservices = stats_R_armedservices, stats_D_armedservices
{txt}
{com}. matrix Stats_armedservices = Stats_armedservices, (stats_R_armedservices[1,1] - stats_D_armedservices[1,1])
{txt}
{com}. matrix Stats_armedservices = Stats_armedservices, (Stats_armedservices[1,8]/sqrt(Stats_armedservices[1,2]^2/Stats_armedservices[1,3]+ Stats_armedservices[1,6]^2/Stats_armedservices[1,7]))
{txt}
{com}. matrix Stats_armedservices= Stats_armedservices, (Stats_armedservices[1,2] - Stats_armedservices[1,6])
{txt}
{com}. matrix list Stats_armedservices
{res}
{txt}Stats_armedservices[1,10]
            c1          c2          c3          c4          c1          c2
r1 {res}  1.8333333   1.1084094          36   1.6540218   2.5555556   2.8465003

{txt}            c3          c8          c9         c10
r1 {res}         27  -.72222222  -1.2492615  -1.7380909
{reset}
{com}. 
. 
. 
. * Banking, Housing, and Urban Affairs 
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Banking, Housing, and Urban Affairs"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         32      3.3125     4.57509          1         19
{txt}
{com}. matrix stats_R_banking = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_banking
{res}
{txt}stats_R_banking[1,4]
           c1         c2         c3         c4
r1 {res}    3.3125  4.5750903         32  .72402942
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Banking, Housing, and Urban Affairs"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         23    2.565217    4.175971          1         19
{txt}
{com}. matrix stats_D_banking = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_banking
{res}
{txt}stats_D_banking[1,3]
           c1         c2         c3
r1 {res} 2.5652174  4.1759712         23
{reset}
{com}. 
. 
. matrix Stats_banking = stats_R_banking, stats_D_banking
{txt}
{com}. matrix Stats_banking = Stats_banking, (stats_R_banking[1,1] - stats_D_banking[1,1])
{txt}
{com}. matrix Stats_banking = Stats_banking, (Stats_banking[1,8]/sqrt(Stats_banking[1,2]^2/Stats_banking[1,3]+ Stats_banking[1,6]^2/Stats_banking[1,7]))
{txt}
{com}. matrix Stats_banking= Stats_banking, (Stats_banking[1,2] - Stats_banking[1,6])
{txt}
{com}. matrix list Stats_banking
{res}
{txt}Stats_banking[1,10]
           c1         c2         c3         c4         c1         c2         c3
r1 {res}    3.3125  4.5750903         32  .72402942  2.5652174  4.1759712         23

{txt}           c8         c9        c10
r1 {res} .74728261  .62880977  .39911917
{reset}
{com}. 
. 
. 
. * Budget
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Budget"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         25        3.72    3.310589          1         15
{txt}
{com}. matrix stats_R_budget = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_budget
{res}
{txt}stats_R_budget[1,4]
           c1         c2         c3         c4
r1 {res}      3.72  3.3105891         25  1.1236671
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Budget"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         19    4.052632    9.738091          1         43
{txt}
{com}. matrix stats_D_budget = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_budget
{res}
{txt}stats_D_budget[1,3]
           c1         c2         c3
r1 {res} 4.0526316  9.7380906         19
{reset}
{com}. 
. matrix Stats_budget = stats_R_budget, stats_D_budget
{txt}
{com}. matrix Stats_budget = Stats_budget, (stats_R_budget[1,1] - stats_D_budget[1,1])
{txt}
{com}. matrix Stats_budget = Stats_budget, (Stats_budget[1,8]/sqrt(Stats_budget[1,2]^2/Stats_budget[1,3]+ Stats_budget[1,6]^2/Stats_budget[1,7]))
{txt}
{com}. matrix Stats_budget= Stats_budget, (Stats_budget[1,2] - Stats_budget[1,6])
{txt}
{com}. matrix list Stats_budget
{res}
{txt}Stats_budget[1,10]
            c1          c2          c3          c4          c1          c2
r1 {res}       3.72   3.3105891          25   1.1236671   4.0526316   9.7380906

{txt}            c3          c8          c9         c10
r1 {res}         19  -.33263158  -.14275279  -6.4275016
{reset}
{com}. 
. 
. 
. 
. * Commerce, Science, and Transportation
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Commerce, Science, and Transportation"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         34    1.705882    1.291685          1          5
{txt}
{com}. matrix stats_R_commerce = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_commerce
{res}
{txt}stats_R_commerce[1,4]
           c1         c2         c3         c4
r1 {res} 1.7058824  1.2916846         34  1.3206647
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Commerce, Science, and Transportation"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         27    3.444444    4.163332          1         19
{txt}
{com}. matrix stats_D_commerce = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_commerce
{res}
{txt}stats_D_commerce[1,3]
           c1         c2         c3
r1 {res} 3.4444444   4.163332         27
{reset}
{com}. 
. matrix Stats_commerce = stats_R_commerce, stats_D_commerce
{txt}
{com}. matrix Stats_commerce = Stats_commerce, (stats_R_commerce[1,1] - stats_D_commerce[1,1])
{txt}
{com}. matrix Stats_commerce = Stats_commerce, (Stats_commerce[1,8]/sqrt(Stats_commerce[1,2]^2/Stats_commerce[1,3]+ Stats_commerce[1,6]^2/Stats_commerce[1,7]))
{txt}
{com}. matrix Stats_commerce= Stats_commerce, (Stats_commerce[1,2] - Stats_commerce[1,6])
{txt}
{com}. matrix list Stats_commerce
{res}
{txt}Stats_commerce[1,10]
            c1          c2          c3          c4          c1          c2
r1 {res}  1.7058824   1.2916846          34   1.3206647   3.4444444    4.163332

{txt}            c3          c8          c9         c10
r1 {res}         27  -1.7385621  -2.0913962  -2.8716474
{reset}
{com}. 
. 
. 
. * Energy and Natural Resources
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Energy and Natural Resources"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         35    3.342857    4.739961          1         21
{txt}
{com}. matrix stats_R_energy = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_energy
{res}
{txt}stats_R_energy[1,4]
           c1         c2         c3         c4
r1 {res} 3.3428571  4.7399606         35  .70524998
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Energy and Natural Resources"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         27    3.037037    3.827848          1         17
{txt}
{com}. matrix stats_D_energy = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_energy
{res}
{txt}stats_D_energy[1,3]
           c1         c2         c3
r1 {res}  3.037037  3.8278482         27
{reset}
{com}. 
. matrix Stats_energy = stats_R_energy, stats_D_energy
{txt}
{com}. matrix Stats_energy = Stats_energy, (stats_R_energy[1,1] - stats_D_energy[1,1])
{txt}
{com}. matrix Stats_energy = Stats_energy, (Stats_energy[1,8]/sqrt(Stats_energy[1,2]^2/Stats_energy[1,3]+ Stats_energy[1,6]^2/Stats_energy[1,7]))
{txt}
{com}. matrix Stats_energy= Stats_energy, (Stats_energy[1,2] - Stats_energy[1,6])
{txt}
{com}. matrix list Stats_energy
{res}
{txt}Stats_energy[1,10]
           c1         c2         c3         c4         c1         c2         c3
r1 {res} 3.3428571  4.7399606         35  .70524998   3.037037  3.8278482         27

{txt}           c8         c9        c10
r1 {res} .30582011  .28098272  .91211247
{reset}
{com}. 
. 
. 
. * Environment and Public Works
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Environment and Public Works"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         30         3.8    5.026825          1         21
{txt}
{com}. matrix stats_R_environment = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_environment
{res}
{txt}stats_R_environment[1,4]
           c1         c2         c3         c4
r1 {res}       3.8  5.0268246         30  .75594442
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Environment and Public Works"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         14           1           0          1          1
{txt}
{com}. matrix stats_D_environment = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_environment
{res}
{txt}stats_D_environment[1,3]
    c1  c2  c3
r1 {res}  1   0  14
{reset}
{com}. 
. matrix Stats_environment = stats_R_environment, stats_D_environment
{txt}
{com}. matrix Stats_environment = Stats_environment, (stats_R_environment[1,1] - stats_D_environment[1,1])
{txt}
{com}. matrix Stats_environment = Stats_environment, (Stats_environment[1,8]/sqrt(Stats_environment[1,2]^2/Stats_environment[1,3]+ Stats_environment[1,6]^2/Stats_environment[1,7]))
{txt}
{com}. matrix Stats_environment= Stats_environment, (Stats_environment[1,2] - Stats_environment[1,6])
{txt}
{com}. matrix list Stats_environment
{res}
{txt}Stats_environment[1,10]
           c1         c2         c3         c4         c1         c2         c3
r1 {res}       3.8  5.0268246         30  .75594442          1          0         14

{txt}           c8         c9        c10
r1 {res}       2.8  3.0508786  5.0268246
{reset}
{com}. 
. 
. 
. * Finance
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Finance"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         33    8.212121    3.903184          3         17
{txt}
{com}. matrix stats_R_Finance = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_Finance
{res}
{txt}stats_R_Finance[1,4]
           c1         c2         c3         c4
r1 {res} 8.2121212  3.9031844         33  2.1039542
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Finance"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         23    7.391304    4.314238          1         19
{txt}
{com}. matrix stats_D_Finance = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_Finance
{res}
{txt}stats_D_Finance[1,3]
           c1         c2         c3
r1 {res} 7.3913043  4.3142378         23
{reset}
{com}. 
. matrix Stats_Finance = stats_R_Finance, stats_D_Finance
{txt}
{com}. matrix Stats_Finance = Stats_Finance, (stats_R_Finance[1,1] - stats_D_Finance[1,1])
{txt}
{com}. matrix Stats_Finance = Stats_Finance, (Stats_Finance[1,8]/sqrt(Stats_Finance[1,2]^2/Stats_Finance[1,3]+ Stats_Finance[1,6]^2/Stats_Finance[1,7]))
{txt}
{com}. matrix Stats_Finance= Stats_Finance, (Stats_Finance[1,2] - Stats_Finance[1,6])
{txt}
{com}. matrix list Stats_Finance
{res}
{txt}Stats_Finance[1,10]
            c1          c2          c3          c4          c1          c2
r1 {res}  8.2121212   3.9031844          33   2.1039542   7.3913043   4.3142378

{txt}            c3          c8          c9         c10
r1 {res}         23   .82081686   .72809705  -.41105345
{reset}
{com}. 
. 
. 
. * Foreign Relations
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Foreign Relations"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         36    2.944444    4.572867          1         25
{txt}
{com}. matrix stats_R_ForeignRelations = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_ForeignRelations
{res}
{txt}stats_R_ForeignRelations[1,4]
           c1         c2         c3         c4
r1 {res} 2.9444444  4.5728668         36  .64389464
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Foreign Relations"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         20         3.4    4.429566          1         17
{txt}
{com}. matrix stats_D_ForeignRelations = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_ForeignRelations
{res}
{txt}stats_D_ForeignRelations[1,3]
           c1         c2         c3
r1 {res}       3.4  4.4295657         20
{reset}
{com}. 
. matrix Stats_ForeignRelations = stats_R_ForeignRelations, stats_D_ForeignRelations
{txt}
{com}. matrix Stats_ForeignRelations = Stats_ForeignRelations, (stats_R_ForeignRelations[1,1] - stats_D_ForeignRelations[1,1])
{txt}
{com}. matrix Stats_ForeignRelations = Stats_ForeignRelations, (Stats_ForeignRelations[1,8]/sqrt(Stats_ForeignRelations[1,2]^2/Stats_ForeignRelations[1,3]+ Stats_ForeignRelations[1,6]^2/Stats_ForeignRelations[1,7]))
{txt}
{com}. matrix Stats_ForeignRelations= Stats_ForeignRelations, (Stats_ForeignRelations[1,2] - Stats_ForeignRelations[1,6])
{txt}
{com}. matrix list Stats_ForeignRelations
{res}
{txt}Stats_ForeignRelations[1,10]
            c1          c2          c3          c4          c1          c2
r1 {res}  2.9444444   4.5728668          36   .64389464         3.4   4.4295657

{txt}            c3          c8          c9         c10
r1 {res}         20  -.45555556  -.36451247    .1433011
{reset}
{com}. 
. 
. 
. * Governmental Affairs
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Governmental Affairs"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         15    7.933333    7.591976          1         23
{txt}
{com}. matrix stats_R_GovernmentalAffairs = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_GovernmentalAffairs
{res}
{txt}stats_R_GovernmentalAffairs[1,4]
           c1         c2         c3         c4
r1 {res} 7.9333333  7.5919757         15  1.0449629
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Governmental Affairs"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9           3           6          1         19
{txt}
{com}. matrix stats_D_GovernmentalAffairs = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_GovernmentalAffairs
{res}
{txt}stats_D_GovernmentalAffairs[1,3]
    c1  c2  c3
r1 {res}  3   6   9
{reset}
{com}. 
. matrix Stats_GovernmentalAffairs = stats_R_GovernmentalAffairs, stats_D_GovernmentalAffairs
{txt}
{com}. matrix Stats_GovernmentalAffairs = Stats_GovernmentalAffairs, (stats_R_GovernmentalAffairs[1,1] - stats_D_GovernmentalAffairs[1,1])
{txt}
{com}. matrix Stats_GovernmentalAffairs = Stats_GovernmentalAffairs, (Stats_GovernmentalAffairs[1,8]/sqrt(Stats_GovernmentalAffairs[1,2]^2/Stats_GovernmentalAffairs[1,3]+ Stats_GovernmentalAffairs[1,6]^2/Stats_GovernmentalAffairs[1,7]))
{txt}
{com}. matrix Stats_GovernmentalAffairs= Stats_GovernmentalAffairs, (Stats_GovernmentalAffairs[1,2] - Stats_GovernmentalAffairs[1,6])
{txt}
{com}. matrix list Stats_GovernmentalAffairs
{res}
{txt}Stats_GovernmentalAffairs[1,10]
           c1         c2         c3         c4         c1         c2         c3
r1 {res} 7.9333333  7.5919757         15  1.0449629          3          6          9

{txt}           c8         c9        c10
r1 {res} 4.9333333  1.7616195  1.5919757
{reset}
{com}. 
. 
. * Health, Education, Labor, and Pensions
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Health, Education, Labor, and Pensions"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         24           7    7.689632          1         29
{txt}
{com}. matrix stats_R_health = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_health
{res}
{txt}stats_R_health[1,4]
           c1         c2         c3         c4
r1 {res}         7  7.6896316         24  .91031669
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Health, Education, Labor, and Pensions"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         23    7.086957    9.486416          1         39
{txt}
{com}. matrix stats_D_health = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_health
{res}
{txt}stats_D_health[1,3]
           c1         c2         c3
r1 {res} 7.0869565  9.4864163         23
{reset}
{com}. 
. matrix Stats_health = stats_R_health, stats_D_health
{txt}
{com}. matrix Stats_health = Stats_health, (stats_R_health[1,1] - stats_D_health[1,1])
{txt}
{com}. matrix Stats_health = Stats_health, (Stats_health[1,8]/sqrt(Stats_health[1,2]^2/Stats_health[1,3]+ Stats_health[1,6]^2/Stats_health[1,7]))
{txt}
{com}. matrix Stats_health= Stats_health, (Stats_health[1,2] - Stats_health[1,6])
{txt}
{com}. matrix list Stats_health
{res}
{txt}Stats_health[1,10]
            c1          c2          c3          c4          c1          c2
r1 {res}          7   7.6896316          24   .91031669   7.0869565   9.4864163

{txt}            c3          c8          c9         c10
r1 {res}         23  -.08695652  -.03443595  -1.7967847
{reset}
{com}. 
. 
. 
. * Homeland Security and Governmental Affairs
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Homeland Security and Governmental Affairs"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         15    5.133333     7.18994          1         27
{txt}
{com}. matrix stats_R_homelandsec = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_homelandsec
{res}
{txt}stats_R_homelandsec[1,4]
           c1         c2         c3         c4
r1 {res} 5.1333333  7.1899401         15  .71396052
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Homeland Security and Governmental Affairs"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13    3.153846    4.038278          1         13
{txt}
{com}. matrix stats_D_homelandsec = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_homelandsec
{res}
{txt}stats_D_homelandsec[1,3]
           c1         c2         c3
r1 {res} 3.1538462  4.0382784         13
{reset}
{com}. 
. matrix Stats_homelandsec = stats_R_homelandsec, stats_D_homelandsec
{txt}
{com}. matrix Stats_homelandsec = Stats_homelandsec, (stats_R_homelandsec[1,1] - stats_D_homelandsec[1,1])
{txt}
{com}. matrix Stats_homelandsec = Stats_homelandsec, (Stats_homelandsec[1,8]/sqrt(Stats_homelandsec[1,2]^2/Stats_homelandsec[1,3]+ Stats_homelandsec[1,6]^2/Stats_homelandsec[1,7]))
{txt}
{com}. matrix Stats_homelandsec= Stats_homelandsec, (Stats_homelandsec[1,2] - Stats_homelandsec[1,6])
{txt}
{com}. matrix list Stats_homelandsec
{res}
{txt}Stats_homelandsec[1,10]
           c1         c2         c3         c4         c1         c2         c3
r1 {res} 5.1333333  7.1899401         15  .71396052  3.1538462  4.0382784         13

{txt}           c8         c9        c10
r1 {res} 1.9794872  .91299291  3.1516617
{reset}
{com}. 
. 
. 
. 
. * Judiciary
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Judiciary"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         20         3.8    4.873127          1         17
{txt}
{com}. matrix stats_R_Judiciary = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_Judiciary
{res}
{txt}stats_R_Judiciary[1,4]
           c1         c2         c3         c4
r1 {res}       3.8  4.8731272         20  .77978675
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Judiciary"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         15    2.133333     2.85023          1         12
{txt}
{com}. matrix stats_D_Judiciary = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_Judiciary
{res}
{txt}stats_D_Judiciary[1,3]
           c1         c2         c3
r1 {res} 2.1333333  2.8502297         15
{reset}
{com}. 
. matrix Stats_Judiciary = stats_R_Judiciary, stats_D_Judiciary
{txt}
{com}. matrix Stats_Judiciary = Stats_Judiciary, (stats_R_Judiciary[1,1] - stats_D_Judiciary[1,1])
{txt}
{com}. matrix Stats_Judiciary = Stats_Judiciary, (Stats_Judiciary[1,8]/sqrt(Stats_Judiciary[1,2]^2/Stats_Judiciary[1,3]+ Stats_Judiciary[1,6]^2/Stats_Judiciary[1,7]))
{txt}
{com}. matrix Stats_Judiciary= Stats_Judiciary, (Stats_Judiciary[1,2] - Stats_Judiciary[1,6])
{txt}
{com}. matrix list Stats_Judiciary
{res}
{txt}Stats_Judiciary[1,10]
           c1         c2         c3         c4         c1         c2         c3
r1 {res}       3.8  4.8731272         20  .77978675  2.1333333  2.8502297         15

{txt}           c8         c9        c10
r1 {res} 1.6666667  1.2675258  2.0228974
{reset}
{com}. 
. 
. * Labor and Human Resources
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Labor and Human Resources"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    5.571429    5.255383          1         13
{txt}
{com}. matrix stats_R_labor = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_labor
{res}
{txt}stats_R_labor[1,4]
           c1         c2         c3         c4
r1 {res} 5.5714286  5.2553827          7  1.0601376
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Labor and Human Resources"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0
{txt}
{com}. matrix stats_D_labor = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_labor
{res}
{txt}stats_D_labor[1,3]
    c1  c2  c3
r1 {res}  .   .   0
{reset}
{com}. 
. matrix Stats_labor = stats_R_labor, stats_D_labor
{txt}
{com}. matrix Stats_labor = Stats_labor, (stats_R_labor[1,1] - stats_D_labor[1,1])
{txt}
{com}. matrix Stats_labor = Stats_labor, (Stats_labor[1,8]/sqrt(Stats_labor[1,2]^2/Stats_labor[1,3]+ Stats_labor[1,6]^2/Stats_labor[1,7]))
{txt}
{com}. matrix Stats_labor= Stats_labor, (Stats_labor[1,2] - Stats_labor[1,6])
{txt}
{com}. matrix list Stats_labor
{res}
{txt}Stats_labor[1,10]
           c1         c2         c3         c4         c1         c2         c3
r1 {res} 5.5714286  5.2553827          7  1.0601376          .          .          0

{txt}           c8         c9        c10
r1 {res}         .          .          .
{reset}
{com}. 
. 
. * Rules and Administration
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Rules and Administration"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         18    7.111111    5.799482          1         23
{txt}
{com}. matrix stats_R_rules = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_rules
{res}
{txt}stats_R_rules[1,4]
           c1         c2         c3         c4
r1 {res} 7.1111111  5.7994816         18  1.2261632
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Rules and Administration"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         15    8.733333    9.852242          1         35
{txt}
{com}. matrix stats_D_rules = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_rules
{res}
{txt}stats_D_rules[1,3]
           c1         c2         c3
r1 {res} 8.7333333  9.8522417         15
{reset}
{com}. 
. matrix Stats_rules = stats_R_rules, stats_D_rules
{txt}
{com}. matrix Stats_rules = Stats_rules, (stats_R_rules[1,1] - stats_D_rules[1,1])
{txt}
{com}. matrix Stats_rules = Stats_rules, (Stats_rules[1,8]/sqrt(Stats_rules[1,2]^2/Stats_rules[1,3]+ Stats_rules[1,6]^2/Stats_rules[1,7]))
{txt}
{com}. matrix Stats_rules= Stats_rules, (Stats_rules[1,2] - Stats_rules[1,6])
{txt}
{com}. matrix list Stats_rules
{res}
{txt}Stats_rules[1,10]
            c1          c2          c3          c4          c1          c2
r1 {res}  7.1111111   5.7994816          18   1.2261632   8.7333333   9.8522417

{txt}            c3          c8          c9         c10
r1 {res}         15  -1.6222222  -.56174087  -4.0527601
{reset}
{com}. 
. 
. * Small Business and Entrepreneurship
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Small Business and Entrepreneurship"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         31    2.032258    3.049414          1         17
{txt}
{com}. matrix stats_R_smallbusiness = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_smallbusiness
{res}
{txt}stats_R_smallbusiness[1,4]
           c1         c2         c3         c4
r1 {res} 2.0322581  3.0494138         31   .6664422
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Small Business and Entrepreneurship"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         18    1.555556    1.338226          1          5
{txt}
{com}. matrix stats_D_smallbusiness = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_smallbusiness
{res}
{txt}stats_D_smallbusiness[1,3]
           c1         c2         c3
r1 {res} 1.5555556  1.3382263         18
{reset}
{com}. 
. matrix Stats_smallbusiness = stats_R_smallbusiness, stats_D_smallbusiness
{txt}
{com}. matrix Stats_smallbusiness = Stats_smallbusiness, (stats_R_smallbusiness[1,1] - stats_D_smallbusiness[1,1])
{txt}
{com}. matrix Stats_smallbusiness = Stats_smallbusiness, (Stats_smallbusiness[1,8]/sqrt(Stats_smallbusiness[1,2]^2/Stats_smallbusiness[1,3]+ Stats_smallbusiness[1,6]^2/Stats_smallbusiness[1,7]))
{txt}
{com}. matrix Stats_smallbusiness= Stats_smallbusiness, (Stats_smallbusiness[1,2] - Stats_smallbusiness[1,6])
{txt}
{com}. matrix list Stats_smallbusiness
{res}
{txt}Stats_smallbusiness[1,10]
           c1         c2         c3         c4         c1         c2         c3
r1 {res} 2.0322581  3.0494138         31   .6664422  1.5555556  1.3382263         18

{txt}           c8         c9        c10
r1 {res} .47670251    .754245  1.7111875
{reset}
{com}. 
. 
. 
. * Veterans' Affairs
. summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Veterans' Affairs"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         22    2.272727    2.433532          1         11
{txt}
{com}. matrix stats_R_veteranaffair = (r(mean), r(sd), r(N),r(mean)/r(sd))
{txt}
{com}. matrix list stats_R_veteranaffair
{res}
{txt}stats_R_veteranaffair[1,4]
           c1         c2         c3         c4
r1 {res} 2.2727273   2.433532         22  .93392127
{reset}
{com}. 
. summarize chamberseniority if newtocommittee == "1" & party == "D" & committeename == "Veterans' Affairs"

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         14    2.142857    1.511858          1          5
{txt}
{com}. matrix stats_D_veteranaffair = (r(mean), r(sd), r(N))
{txt}
{com}. matrix list stats_D_veteranaffair
{res}
{txt}stats_D_veteranaffair[1,3]
           c1         c2         c3
r1 {res} 2.1428571  1.5118579         14
{reset}
{com}. 
. matrix Stats_veteranaffair = stats_R_veteranaffair, stats_D_veteranaffair
{txt}
{com}. matrix Stats_veteranaffair = Stats_veteranaffair, (stats_R_veteranaffair[1,1] - stats_D_veteranaffair[1,1])
{txt}
{com}. matrix Stats_veteranaffair = Stats_veteranaffair, (Stats_veteranaffair[1,8]/sqrt(Stats_veteranaffair[1,2]^2/Stats_veteranaffair[1,3]+ Stats_veteranaffair[1,6]^2/Stats_veteranaffair[1,7]))
{txt}
{com}. matrix Stats_veteranaffair= Stats_veteranaffair, (Stats_veteranaffair[1,2] - Stats_veteranaffair[1,6])
{txt}
{com}. matrix list Stats_veteranaffair
{res}
{txt}Stats_veteranaffair[1,10]
           c1         c2         c3         c4         c1         c2         c3
r1 {res} 2.2727273   2.433532         22  .93392127  2.1428571  1.5118579         14

{txt}           c8         c9        c10
r1 {res} .12987013  .19748813  .92167409
{reset}
{com}. 
. 
. 
. 
. 
. ** Constructing Table A5:
. matrix TableA5 = Stats_smallbusiness \ Stats_veteranaffair \ Stats_Agriculture \ Stats_armedservices \ Stats_energy \ Stats_banking \ Stats_commerce \ Stats_environment \ Stats_Finance \Stats_ForeignRelations \ Stats_GovernmentalAffairs \ Stats_homelandsec \ Stats_Judiciary \ Stats_labor \ Stats_health \ Stats_Appropriations \ Stats_budget \Stats_rules
{txt}
{com}. 
. matrix list TableA5
{res}
{txt}TableA5[18,10]
            c1          c2          c3          c4          c1          c2
r1 {res}  2.0322581   3.0494138          31    .6664422   1.5555556   1.3382263
{txt}r1 {res}  2.2727273    2.433532          22   .93392127   2.1428571   1.5118579
{txt}r1 {res}       3.24         3.8          25   .85263158   1.8421053   2.4327204
{txt}r1 {res}  1.8333333   1.1084094          36   1.6540218   2.5555556   2.8465003
{txt}r1 {res}  3.3428571   4.7399606          35   .70524998    3.037037   3.8278482
{txt}r1 {res}     3.3125   4.5750903          32   .72402942   2.5652174   4.1759712
{txt}r1 {res}  1.7058824   1.2916846          34   1.3206647   3.4444444    4.163332
{txt}r1 {res}        3.8   5.0268246          30   .75594442           1           0
{txt}r1 {res}  8.2121212   3.9031844          33   2.1039542   7.3913043   4.3142378
{txt}r1 {res}  2.9444444   4.5728668          36   .64389464         3.4   4.4295657
{txt}r1 {res}  7.9333333   7.5919757          15   1.0449629           3           6
{txt}r1 {res}  5.1333333   7.1899401          15   .71396052   3.1538462   4.0382784
{txt}r1 {res}        3.8   4.8731272          20   .77978675   2.1333333   2.8502297
{txt}r1 {res}  5.5714286   5.2553827           7   1.0601376           .           .
{txt}r1 {res}          7   7.6896316          24   .91031669   7.0869565   9.4864163
{txt}r1 {res}  4.4482759   3.2025236          29   1.3889908   4.3684211   1.4985373
{txt}r1 {res}       3.72   3.3105891          25   1.1236671   4.0526316   9.7380906
{txt}r1 {res}  7.1111111   5.7994816          18   1.2261632   8.7333333   9.8522417

{txt}            c3          c8          c9         c10
r1 {res}         18   .47670251     .754245   1.7111875
{txt}r1 {res}         14   .12987013   .19748813   .92167409
{txt}r1 {res}         19   1.3978947   1.4825315   1.3672796
{txt}r1 {res}         27  -.72222222  -1.2492615  -1.7380909
{txt}r1 {res}         27   .30582011   .28098272   .91211247
{txt}r1 {res}         23   .74728261   .62880977   .39911917
{txt}r1 {res}         27  -1.7385621  -2.0913962  -2.8716474
{txt}r1 {res}         14         2.8   3.0508786   5.0268246
{txt}r1 {res}         23   .82081686   .72809705  -.41105345
{txt}r1 {res}         20  -.45555556  -.36451247    .1433011
{txt}r1 {res}          9   4.9333333   1.7616195   1.5919757
{txt}r1 {res}         13   1.9794872   .91299291   3.1516617
{txt}r1 {res}         15   1.6666667   1.2675258   2.0228974
{txt}r1 {res}          0           .           .           .
{txt}r1 {res}         23  -.08695652  -.03443595  -1.7967847
{txt}r1 {res}         19   .07985481   .11625154   1.7039863
{txt}r1 {res}         19  -.33263158  -.14275279  -6.4275016
{txt}r1 {res}         15  -1.6222222  -.56174087  -4.0527601
{reset}
{com}. 
. * Saves TableA5:
. esttab matrix(TableA5) using TableA5
{res}{txt}(output written to {browse  `"TableA5.txt"'})

{com}. 
. 
. 
. 
. ** Constructing Table A7 which is the mean, standard deviation and mean/standard deviation of Republican Chamber seniority at time of appointment
. 
. * Note: Govt Affairs and Homeland Security were combined in the midst of this data:
. matrix GovtAffairs_mean = (stats_R_GovernmentalAffairs[1,1]*stats_R_GovernmentalAffairs[1,3] + stats_R_homelandsec[1,1]*stats_R_homelandsec[1,3])/(stats_R_GovernmentalAffairs[1,3]+stats_R_homelandsec[1,3])
{txt}
{com}. matrix GovtAffairs_stddev = (stats_R_GovernmentalAffairs[1,2]*stats_R_GovernmentalAffairs[1,3] + stats_R_homelandsec[1,2]*stats_R_homelandsec[1,3])/(stats_R_GovernmentalAffairs[1,3]+stats_R_homelandsec[1,3])
{txt}
{com}. matrix GovtAffairs_N = stats_R_GovernmentalAffairs[1,3]+stats_R_homelandsec[1,3]
{txt}
{com}. matrix GovtAffairs_stdmean = GovtAffairs_mean[1,1]/GovtAffairs_stddev[1,1]
{txt}
{com}. 
. matrix Stats_GovtAffairs = GovtAffairs_mean, GovtAffairs_stddev, GovtAffairs_N, GovtAffairs_stdmean
{txt}
{com}. 
. matrix list Stats_GovtAffairs
{res}
{txt}Stats_GovtAffairs[1,4]
           c1         c1         c1         c1
r1 {res} 6.5333333  7.3909579         30    .883963
{reset}
{com}. 
. * Note: Labor and Human Resources became Health, Education, Labor, and Pensions
. matrix LaborHumanRes_mean = (Stats_labor[1,1]*Stats_labor[1,3] + Stats_health[1,1]*Stats_health[1,3])/(Stats_labor[1,3]+Stats_health[1,3])
{txt}
{com}. matrix LaborHumanRes_stddev = (Stats_labor[1,2]*Stats_labor[1,3] + Stats_health[1,2]*Stats_health[1,3])/(Stats_labor[1,3]+Stats_health[1,3])
{txt}
{com}. matrix LaborHumanRes_N = Stats_labor[1,3]+Stats_health[1,3]
{txt}
{com}. matrix LaborHumanRes_stdmean = LaborHumanRes_mean[1,1]/LaborHumanRes_stddev[1,1]
{txt}
{com}. 
. matrix Stats_LaborHumanRes = LaborHumanRes_mean, LaborHumanRes_stddev, LaborHumanRes_N, LaborHumanRes_stdmean
{txt}
{com}. 
. matrix list Stats_LaborHumanRes
{res}
{txt}Stats_LaborHumanRes[1,4]
           c1         c1         c1         c1
r1 {res} 6.6774194  7.1399625         31   .9352177
{reset}
{com}. 
. 
. 
. 
. ** Constructing Table A7 which is the mean, standard deviation and mean/standard deviation of Republican Chamber seniority at time of appointment
. matrix TableA7Column1 = stats_R_commerce[1,1] \ stats_R_armedservices[1,1] \ stats_R_smallbusiness[1,1] \ stats_R_veteranaffair[1,1] \ stats_R_ForeignRelations[1,1] \ stats_R_Agriculture[1,1] \ stats_R_banking[1,1] \ stats_R_energy[1,1] \ stats_R_budget[1,1]  \ stats_R_environment[1,1] \ stats_R_Judiciary[1,1] \stats_R_Appropriations[1,1] \ Stats_GovtAffairs[1,1] \ Stats_LaborHumanRes[1,1] \ stats_R_rules[1,1] \stats_R_Finance[1,1] 
{txt}
{com}. 
. matrix list TableA7Column1
{res}
{txt}TableA7Column1[16,1]
            c1
 r1 {res} 1.7058824
{txt} r2 {res} 1.8333333
{txt} r3 {res} 2.0322581
{txt} r4 {res} 2.2727273
{txt} r5 {res} 2.9444444
{txt} r6 {res}      3.24
{txt} r7 {res}    3.3125
{txt} r8 {res} 3.3428571
{txt} r9 {res}      3.72
{txt}r10 {res}       3.8
{txt}r11 {res}       3.8
{txt}r12 {res} 4.4482759
{txt}r13 {res} 6.5333333
{txt}r14 {res} 6.6774194
{txt}r15 {res} 7.1111111
{txt}r16 {res} 8.2121212
{reset}
{com}.  
. 
.  matrix TableA7Column2 = stats_R_armedservices[1,2] \ stats_R_commerce[1,2] \ stats_R_veteranaffair[1,2] \ stats_R_smallbusiness[1,2] \ stats_R_Appropriations[1,2] \ stats_R_budget[1,2]  \ stats_R_Agriculture[1,2] \ stats_R_Finance[1,2] \ stats_R_ForeignRelations[1,2] \ stats_R_banking[1,2] \ stats_R_energy[1,2] \ stats_R_Judiciary[1,2] \ stats_R_environment[1,2] \ stats_R_rules[1,2] \ Stats_LaborHumanRes[1,2] \ Stats_GovtAffairs[1,2]
{txt}
{com}. 
.  matrix list TableA7Column2
{res}
{txt}TableA7Column2[16,1]
            c1
 r1 {res} 1.1084094
{txt} r2 {res} 1.2916846
{txt} r3 {res}  2.433532
{txt} r4 {res} 3.0494138
{txt} r5 {res} 3.2025236
{txt} r6 {res} 3.3105891
{txt} r7 {res}       3.8
{txt} r8 {res} 3.9031844
{txt} r9 {res} 4.5728668
{txt}r10 {res} 4.5750903
{txt}r11 {res} 4.7399606
{txt}r12 {res} 4.8731272
{txt}r13 {res} 5.0268246
{txt}r14 {res} 5.7994816
{txt}r15 {res} 7.1399625
{txt}r16 {res} 7.3909579
{reset}
{com}. 
. 
. matrix TableA7Column3 = stats_R_ForeignRelations[1,4] \ stats_R_smallbusiness[1,4] \ stats_R_energy[1,4] \ stats_R_banking[1,4] \ stats_R_environment[1,4] \ stats_R_Judiciary[1,4] \ stats_R_Agriculture[1,4] \ Stats_GovtAffairs[1,4] \ stats_R_veteranaffair[1,4] \ Stats_LaborHumanRes[1,4] \ stats_R_budget[1,4]  \ stats_R_rules[1,4] \ stats_R_commerce[1,4] \ stats_R_Appropriations[1,4] \ stats_R_armedservices[1,4] \ stats_R_Finance[1,4] 
{txt}
{com}. 
. matrix list TableA7Column3
{res}
{txt}TableA7Column3[16,1]
            c1
 r1 {res} .64389464
{txt} r2 {res}  .6664422
{txt} r3 {res} .70524998
{txt} r4 {res} .72402942
{txt} r5 {res} .75594442
{txt} r6 {res} .77978675
{txt} r7 {res} .85263158
{txt} r8 {res}   .883963
{txt} r9 {res} .93392127
{txt}r10 {res}  .9352177
{txt}r11 {res} 1.1236671
{txt}r12 {res} 1.2261632
{txt}r13 {res} 1.3206647
{txt}r14 {res} 1.3889908
{txt}r15 {res} 1.6540218
{txt}r16 {res} 2.1039542
{reset}
{com}. 
. * Saves TableA7 by Columns:
. esttab matrix(TableA7Column1) using TableA7Column1
{res}{txt}(output written to {browse  `"TableA7Column1.txt"'})

{com}. esttab matrix(TableA7Column2) using TableA7Column2
{res}{txt}(output written to {browse  `"TableA7Column2.txt"'})

{com}. esttab matrix(TableA7Column3) using TableA7Column3
{res}{txt}(output written to {browse  `"TableA7Column3.txt"'})

{com}. 
. 
. *************************************************************************************
. ** Table A8**
. *************************************************************************************
. 
. recast byte congress 
{txt}congress:  {res}4991{txt} values would be changed; not changed

{com}. 
. * First collect the minimum seniority at time of committee assignment for each congress 104-113 for every committee
. matrix Rmin_Agriculture = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Agriculture, Nutrition, and Forestry" & congress == `j'
{txt}  3{com}. matrix Rmin_Agriculture = Rmin_Agriculture,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4           8    7.393691          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           1           .          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4           5    1.632993          3          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         1.5           1          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           4    1.414214          3          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           3    2.828427          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0
{txt}
{com}. matrix Rmin_Agriculture = Rmin_Agriculture[1,2..11]
{txt}
{com}. 
. 
. matrix Rmin_Appropriations = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Appropriations" & congress == `j'
{txt}  3{com}. matrix Rmin_Appropriations = Rmin_Appropriations,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5           5    2.828427          3          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    5.666667    1.154701          5          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           5           .          5          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           7           .          7          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           9           .          9          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           9           .          9          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           5           .          5          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3           9           2          7         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    1.857143    2.267787          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           4    1.414214          3          5
{txt}
{com}. matrix Rmin_Appropriations = Rmin_Appropriations[1,2..11]
{txt}
{com}. 
. 
. matrix Rmin_ArmedService = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Armed Services" & congress == `j'
{txt}  3{com}. matrix Rmin_ArmedService = Rmin_ArmedService,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    1.666667    1.154701          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           2    1.414214          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3           3           0          3          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           4    1.414214          3          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    1.666667    1.032796          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           1           .          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         1.5           1          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    2.333333    1.154701          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4           2    1.154701          1          3
{txt}
{com}. matrix Rmin_ArmedService = Rmin_ArmedService[1,2..11]
{txt}
{com}. 
. 
. matrix Rmin_Banking = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Banking, Housing, and Urban Affairs" & congress == `j'
{txt}  3{com}. matrix Rmin_Banking = Rmin_Banking,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         6.5    8.544004          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           1           .          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    2.333333    2.309401          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           1           .          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           1           .          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         7.4      6.9857          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         2.2    1.788854          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           5    2.828427          3          7
{txt}
{com}. matrix Rmin_Banking = Rmin_Banking[1,2..11]
{txt}
{com}. 
. 
. matrix Rmin_Budget = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Budget" & congress == `j'
{txt}  3{com}. matrix Rmin_Budget = Rmin_Budget,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         2.2    2.683282          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           1           .          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           5           0          5          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    6.142857    4.450789          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           3           0          3          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         1.8    1.788854          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           5           .          5          5
{txt}
{com}. matrix Rmin_Budget = Rmin_Budget[1,2..11]
{txt}
{com}. 
. 
. matrix Rmin_Commerce = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Commerce, Science, and Transportation" & congress == `j'
{txt}  3{com}. matrix Rmin_Commerce = Rmin_Commerce,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           3           .          3          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         2.5    1.914854          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           1           .          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           2    1.414214          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4           2    1.154701          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    1.571429    1.511858          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         1.4    .8944272          1          3
{txt}
{com}. matrix Rmin_Commerce = Rmin_Commerce[1,2..11]
{txt}
{com}. 
. 
. matrix Rmin_Energy = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Energy and Natural Resources" & congress == `j'
{txt}  3{com}. matrix Rmin_Energy = Rmin_Energy,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         3.4    3.286335          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           8    9.899495          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           5           .          5          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    2.333333    1.154701          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    2.333333    2.309401          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4           4    4.760952          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    11.66667    10.06645          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           1           0          1          1
{txt}
{com}. matrix Rmin_Energy = Rmin_Energy[1,2..11]
{txt}
{com}. 
. 
. matrix Rmin_Environment = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Environment and Public Works" & congress == `j'
{txt}  3{com}. matrix Rmin_Environment = Rmin_Environment,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         5.4    4.335897          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         2.5           3          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2          15    8.485281          9         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           2    1.414214          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    7.666667    8.326664          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           2    1.414214          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           3    2.828427          1          5
{txt}
{com}. matrix Rmin_Environment = Rmin_Environment[1,2..11]
{txt}
{com}. 
. 
. matrix Rmin_Finance = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Finance" & congress == `j'
{txt}  3{com}. matrix Rmin_Finance = Rmin_Finance,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    13.85714    3.625308          7         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           9           0          9          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           7           0          7          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3           7           0          7          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         7.5    1.914854          5          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           7           .          7          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    7.666667     3.05505          5         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           8    4.242641          5         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3           5           0          5          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    4.333333    2.309401          3          7
{txt}
{com}. matrix Rmin_Finance = Rmin_Finance[1,2..11]
{txt}
{com}. 
. 
. matrix Rmin_ForeignRelations = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Foreign Relations" & congress == `j'
{txt}  3{com}. matrix Rmin_ForeignRelations = Rmin_ForeignRelations,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         1.4    .8944272          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4           2    1.154701          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           1           .          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           3    2.828427          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4           2           2          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           3    2.828427          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6           2    1.095445          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    5.666667    8.082904          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    2.333333    2.309401          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4           8    11.37248          1         25
{txt}
{com}. matrix Rmin_ForeignRelations = Rmin_ForeignRelations[1,2..11]
{txt}
{com}. 
. 
. matrix Rmin_GovernmentAffairs = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Governmental Affairs" & congress == `j'
{txt}  3{com}. matrix Rmin_GovernmentAffairs = Rmin_GovernmentAffairs,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5        10.2      8.5557          3         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         9.5    8.698659          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           4    4.242641          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           3           .          3          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    6.333333    9.237604          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0
{txt}
{com}. matrix Rmin_GovernmentAffairs = Rmin_GovernmentAffairs[1,2..11]
{txt}
{com}. 
. 
. matrix Rmin_HomelandSec = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Homeland Security and Governmental Affairs" & congress == `j'
{txt}  3{com}. matrix Rmin_HomelandSec = Rmin_HomelandSec,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    11.66667    13.61372          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           6    1.414214          5          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           9    8.485281          3         15
{txt}
{com}. matrix Rmin_HomelandSec = Rmin_HomelandSec[1,2..11]
{txt}
{com}. 
. * Note: Govt Affairs and Homeland Security names were swtiched, so we combine
. matrix Rmin_GovernmentalAffairs = (Rmin_GovernmentAffairs[1,1..5], Rmin_HomelandSec[1,6..10])
{txt}
{com}. 
. 
. matrix Rmin_Labor = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Labor and Human Resources" & congress == `j'
{txt}  3{com}. matrix Rmin_Labor = Rmin_Labor,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         4.5    5.744563          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1          13           .         13         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           4    1.414214          3          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0
{txt}
{com}. matrix Rmin_Labor = Rmin_Labor[1,2..11]
{txt}
{com}. 
. 
. matrix Rmin_Health = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Health, Education, Labor, and Pensions" & congress == `j'
{txt}  3{com}. matrix Rmin_Health = Rmin_Health,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         8.6    5.947922          5         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    1.666667    1.154701          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    10.33333    16.16581          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3           7           4          3         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1          21           .         21         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           1           .          1          1
{txt}
{com}. matrix Rmin_Health = Rmin_Health[1,2..11]
{txt}
{com}. 
. *Note: Labor and Human Resources became Health, Education, Labor, and Pensions, so we combine
. matrix Rmin_LaborHumanResources = (Rmin_Labor[1,1..3], Rmin_Health[1,4..10])
{txt}
{com}. 
. 
. matrix Rmin_Judiciary = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Judiciary" & congress == `j'
{txt}  3{com}. matrix Rmin_Judiciary = Rmin_Judiciary,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         1.5           1          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           2    1.414214          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           9           .          9          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2          12    7.071068          7         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4           4           6          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           1           .          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           1           .          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           1           0          1          1
{txt}
{com}. matrix Rmin_Judiciary = Rmin_Judiciary[1,2..11]
{txt}
{com}. 
. 
. matrix Rmin_Rules = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Rules and Administration" & congress == `j'
{txt}  3{com}. matrix Rmin_Rules = Rmin_Rules,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    7.666667    7.023769          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           5           .          5          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    5.666667    4.163332          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2          11    2.828427          9         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           6    1.414214          5          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1          11           .         11         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2          12    15.55635          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           1           .          1          1
{txt}
{com}. matrix Rmin_Rules = Rmin_Rules[1,2..11]
{txt}
{com}. 
. 
. matrix Rmin_SmallBusiness = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Small Business and Entrepreneurship" & congress == `j'
{txt}  3{com}. matrix Rmin_SmallBusiness = Rmin_SmallBusiness,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    6.333333    9.237604          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           3    2.828427          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4           2           2          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           1           .          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         1.5           1          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           3    2.828427          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         1.5           1          1          3
{txt}
{com}. matrix Rmin_SmallBusiness = Rmin_SmallBusiness[1,2..11]
{txt}
{com}. 
. 
. matrix Rmin_VeteransAffairs = 0
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & committeename == "Veterans' Affairs" & congress == `j'
{txt}  3{com}. matrix Rmin_VeteransAffairs = Rmin_VeteransAffairs,(r(min))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           5           0          5          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           1           .          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          0

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         4.6    3.847077          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           1           .          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          1           3           .          3          3
{txt}
{com}. matrix Rmin_VeteransAffairs = Rmin_VeteransAffairs[1,2..11]
{txt}
{com}. 
. 
. matrix A = Rmin_ForeignRelations \ Rmin_SmallBusiness \ Rmin_Banking \ Rmin_Commerce \ Rmin_ArmedService \ Rmin_Energy \Rmin_Agriculture \ Rmin_VeteransAffairs \ Rmin_Environment \ Rmin_GovernmentalAffairs \Rmin_Budget \ Rmin_Judiciary \Rmin_Rules \ Rmin_LaborHumanResources \Rmin_Appropriations \Rmin_Finance
{txt}
{com}. matrix list A
{res}
{txt}A[16,10]
     c2   c3   c4   c5   c6   c7   c8   c9  c10  c11
r1 {res}   1    1    1    1    1    1    1    1    1    1
{txt}r1 {res}   1    1    1    1    1    1    1    1    1    1
{txt}r1 {res}   1    1    1    1    1    1    1    1    1    3
{txt}r1 {res}   1    3    .    1    1    1    1    1    1    1
{txt}r1 {res}   1    1    3    3    1    1    1    1    1    1
{txt}r1 {res}   1    1    1    5    1    1    1    1    1    1
{txt}r1 {res}   1    1    1    3    1    .    3    1    1    .
{txt}r1 {res}   5    1    .    .    1    1    1    1    1    3
{txt}r1 {res}   1    1    1    9    1    1    1    .    1    1
{txt}r1 {res}   3    1    1    3    1    1    .    5    1    3
{txt}r1 {res}   1    1    .    5    1    3    .    .    1    5
{txt}r1 {res}   1    1    9    7    1    1    .    .    1    1
{txt}r1 {res}   1    5    .    .    1    9    5   11    1    1
{txt}r1 {res}   1   13    3    5    1    1    3   21    1    1
{txt}r1 {res}   3    5    5    7    9    9    5    7    1    3
{txt}r1 {res}   7    9    7    7    5    7    5    5    5    3
{reset}
{com}. 
. 
. // Step 2: Create a new dataset with the same number of observations as columns in the matrix
. clear
{txt}
{com}. set obs `=colsof(A)'  // Create one observation for each column in the matrix
{txt}{p}
Number of observations ({bf:_N}) was 0,
now 10.
{p_end}

{com}. 
. // Step 3: Create variables for each row of the matrix
. forval i = 1/`=rowsof(A)' {c -(}
{txt}  2{com}.     gen row`i' = .
{txt}  3{com}.     // Step 4: Assign the values of each row from the matrix to the new variable
.     forval j = 1/`=colsof(A)' {c -(}
{txt}  4{com}.         replace row`i' = A[`i', `j'] in `j'
{txt}  5{com}.     {c )-}
{txt}  6{com}. {c )-}
{txt}(10 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(10 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(10 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(10 missing values generated)
(1 real change made)
(1 real change made)
(0 real changes made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(10 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(10 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(10 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(0 real changes made)
(1 real change made)
(1 real change made)
(1 real change made)
(0 real changes made)
(10 missing values generated)
(1 real change made)
(1 real change made)
(0 real changes made)
(0 real changes made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(10 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(0 real changes made)
(1 real change made)
(1 real change made)
(10 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(0 real changes made)
(1 real change made)
(1 real change made)
(1 real change made)
(10 missing values generated)
(1 real change made)
(1 real change made)
(0 real changes made)
(1 real change made)
(1 real change made)
(1 real change made)
(0 real changes made)
(0 real changes made)
(1 real change made)
(1 real change made)
(10 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(0 real changes made)
(0 real changes made)
(1 real change made)
(1 real change made)
(10 missing values generated)
(1 real change made)
(1 real change made)
(0 real changes made)
(0 real changes made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(10 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(10 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(10 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)

{com}. 
. // Display the dataset with the new variables
. list

     {txt}{c TLC}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 7}{c TRC}
  1. {c |} row1 {c |} row2 {c |} row3 {c |} row4 {c |} row5 {c |} row6 {c |} row7 {c |} row8 {c |} row9 {c |} row10 {c |}
     {c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   5 {txt}{c |} {res}   1 {txt}{c |} {res}    3 {txt}{c |}
     {c LT}{hline 6}{c BT}{hline 3}{c TT}{hline 2}{c BT}{hline 6}{c BT}{hline 1}{c TT}{hline 4}{c BT}{hline 6}{c +}{hline 6}{c BT}{hline 4}{c TT}{hline 1}{c BT}{hline 6}{c BT}{hline 2}{c TT}{hline 3}{c BT}{hline 7}{c RT}
     {c |}  row11   {c |}   row12   {c |}   row13   {c |}   row14   {c |}   row15   {c |}   row16   {c |}
     {c |}  {res}    1   {txt}{c |}   {res}    1   {txt}{c |}   {res}    1   {txt}{c |}   {res}    1   {txt}{c |}   {res}    3   {txt}{c |}   {res}    7   {txt}{c |}
     {c BLC}{hline 10}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BRC}

     {c TLC}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 7}{c TRC}
  2. {c |} row1 {c |} row2 {c |} row3 {c |} row4 {c |} row5 {c |} row6 {c |} row7 {c |} row8 {c |} row9 {c |} row10 {c |}
     {c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   3 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}    1 {txt}{c |}
     {c LT}{hline 6}{c BT}{hline 3}{c TT}{hline 2}{c BT}{hline 6}{c BT}{hline 1}{c TT}{hline 4}{c BT}{hline 6}{c +}{hline 6}{c BT}{hline 4}{c TT}{hline 1}{c BT}{hline 6}{c BT}{hline 2}{c TT}{hline 3}{c BT}{hline 7}{c RT}
     {c |}  row11   {c |}   row12   {c |}   row13   {c |}   row14   {c |}   row15   {c |}   row16   {c |}
     {c |}  {res}    1   {txt}{c |}   {res}    1   {txt}{c |}   {res}    5   {txt}{c |}   {res}   13   {txt}{c |}   {res}    5   {txt}{c |}   {res}    9   {txt}{c |}
     {c BLC}{hline 10}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BRC}

     {c TLC}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 7}{c TRC}
  3. {c |} row1 {c |} row2 {c |} row3 {c |} row4 {c |} row5 {c |} row6 {c |} row7 {c |} row8 {c |} row9 {c |} row10 {c |}
     {c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   . {txt}{c |} {res}   3 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   . {txt}{c |} {res}   1 {txt}{c |} {res}    1 {txt}{c |}
     {c LT}{hline 6}{c BT}{hline 3}{c TT}{hline 2}{c BT}{hline 6}{c BT}{hline 1}{c TT}{hline 4}{c BT}{hline 6}{c +}{hline 6}{c BT}{hline 4}{c TT}{hline 1}{c BT}{hline 6}{c BT}{hline 2}{c TT}{hline 3}{c BT}{hline 7}{c RT}
     {c |}  row11   {c |}   row12   {c |}   row13   {c |}   row14   {c |}   row15   {c |}   row16   {c |}
     {c |}  {res}    .   {txt}{c |}   {res}    9   {txt}{c |}   {res}    .   {txt}{c |}   {res}    3   {txt}{c |}   {res}    5   {txt}{c |}   {res}    7   {txt}{c |}
     {c BLC}{hline 10}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BRC}

     {c TLC}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 7}{c TRC}
  4. {c |} row1 {c |} row2 {c |} row3 {c |} row4 {c |} row5 {c |} row6 {c |} row7 {c |} row8 {c |} row9 {c |} row10 {c |}
     {c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   3 {txt}{c |} {res}   5 {txt}{c |} {res}   3 {txt}{c |} {res}   . {txt}{c |} {res}   9 {txt}{c |} {res}    3 {txt}{c |}
     {c LT}{hline 6}{c BT}{hline 3}{c TT}{hline 2}{c BT}{hline 6}{c BT}{hline 1}{c TT}{hline 4}{c BT}{hline 6}{c +}{hline 6}{c BT}{hline 4}{c TT}{hline 1}{c BT}{hline 6}{c BT}{hline 2}{c TT}{hline 3}{c BT}{hline 7}{c RT}
     {c |}  row11   {c |}   row12   {c |}   row13   {c |}   row14   {c |}   row15   {c |}   row16   {c |}
     {c |}  {res}    5   {txt}{c |}   {res}    7   {txt}{c |}   {res}    .   {txt}{c |}   {res}    5   {txt}{c |}   {res}    7   {txt}{c |}   {res}    7   {txt}{c |}
     {c BLC}{hline 10}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BRC}

     {c TLC}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 7}{c TRC}
  5. {c |} row1 {c |} row2 {c |} row3 {c |} row4 {c |} row5 {c |} row6 {c |} row7 {c |} row8 {c |} row9 {c |} row10 {c |}
     {c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}    1 {txt}{c |}
     {c LT}{hline 6}{c BT}{hline 3}{c TT}{hline 2}{c BT}{hline 6}{c BT}{hline 1}{c TT}{hline 4}{c BT}{hline 6}{c +}{hline 6}{c BT}{hline 4}{c TT}{hline 1}{c BT}{hline 6}{c BT}{hline 2}{c TT}{hline 3}{c BT}{hline 7}{c RT}
     {c |}  row11   {c |}   row12   {c |}   row13   {c |}   row14   {c |}   row15   {c |}   row16   {c |}
     {c |}  {res}    1   {txt}{c |}   {res}    1   {txt}{c |}   {res}    1   {txt}{c |}   {res}    1   {txt}{c |}   {res}    9   {txt}{c |}   {res}    5   {txt}{c |}
     {c BLC}{hline 10}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BRC}

     {c TLC}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 7}{c TRC}
  6. {c |} row1 {c |} row2 {c |} row3 {c |} row4 {c |} row5 {c |} row6 {c |} row7 {c |} row8 {c |} row9 {c |} row10 {c |}
     {c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   . {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}    1 {txt}{c |}
     {c LT}{hline 6}{c BT}{hline 3}{c TT}{hline 2}{c BT}{hline 6}{c BT}{hline 1}{c TT}{hline 4}{c BT}{hline 6}{c +}{hline 6}{c BT}{hline 4}{c TT}{hline 1}{c BT}{hline 6}{c BT}{hline 2}{c TT}{hline 3}{c BT}{hline 7}{c RT}
     {c |}  row11   {c |}   row12   {c |}   row13   {c |}   row14   {c |}   row15   {c |}   row16   {c |}
     {c |}  {res}    3   {txt}{c |}   {res}    1   {txt}{c |}   {res}    9   {txt}{c |}   {res}    1   {txt}{c |}   {res}    9   {txt}{c |}   {res}    7   {txt}{c |}
     {c BLC}{hline 10}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BRC}

     {c TLC}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 7}{c TRC}
  7. {c |} row1 {c |} row2 {c |} row3 {c |} row4 {c |} row5 {c |} row6 {c |} row7 {c |} row8 {c |} row9 {c |} row10 {c |}
     {c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   3 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}    . {txt}{c |}
     {c LT}{hline 6}{c BT}{hline 3}{c TT}{hline 2}{c BT}{hline 6}{c BT}{hline 1}{c TT}{hline 4}{c BT}{hline 6}{c +}{hline 6}{c BT}{hline 4}{c TT}{hline 1}{c BT}{hline 6}{c BT}{hline 2}{c TT}{hline 3}{c BT}{hline 7}{c RT}
     {c |}  row11   {c |}   row12   {c |}   row13   {c |}   row14   {c |}   row15   {c |}   row16   {c |}
     {c |}  {res}    .   {txt}{c |}   {res}    .   {txt}{c |}   {res}    5   {txt}{c |}   {res}    3   {txt}{c |}   {res}    5   {txt}{c |}   {res}    5   {txt}{c |}
     {c BLC}{hline 10}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BRC}

     {c TLC}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 7}{c TRC}
  8. {c |} row1 {c |} row2 {c |} row3 {c |} row4 {c |} row5 {c |} row6 {c |} row7 {c |} row8 {c |} row9 {c |} row10 {c |}
     {c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   . {txt}{c |} {res}    5 {txt}{c |}
     {c LT}{hline 6}{c BT}{hline 3}{c TT}{hline 2}{c BT}{hline 6}{c BT}{hline 1}{c TT}{hline 4}{c BT}{hline 6}{c +}{hline 6}{c BT}{hline 4}{c TT}{hline 1}{c BT}{hline 6}{c BT}{hline 2}{c TT}{hline 3}{c BT}{hline 7}{c RT}
     {c |}  row11   {c |}   row12   {c |}   row13   {c |}   row14   {c |}   row15   {c |}   row16   {c |}
     {c |}  {res}    .   {txt}{c |}   {res}    .   {txt}{c |}   {res}   11   {txt}{c |}   {res}   21   {txt}{c |}   {res}    7   {txt}{c |}   {res}    5   {txt}{c |}
     {c BLC}{hline 10}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BRC}

     {c TLC}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 7}{c TRC}
  9. {c |} row1 {c |} row2 {c |} row3 {c |} row4 {c |} row5 {c |} row6 {c |} row7 {c |} row8 {c |} row9 {c |} row10 {c |}
     {c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}    1 {txt}{c |}
     {c LT}{hline 6}{c BT}{hline 3}{c TT}{hline 2}{c BT}{hline 6}{c BT}{hline 1}{c TT}{hline 4}{c BT}{hline 6}{c +}{hline 6}{c BT}{hline 4}{c TT}{hline 1}{c BT}{hline 6}{c BT}{hline 2}{c TT}{hline 3}{c BT}{hline 7}{c RT}
     {c |}  row11   {c |}   row12   {c |}   row13   {c |}   row14   {c |}   row15   {c |}   row16   {c |}
     {c |}  {res}    1   {txt}{c |}   {res}    1   {txt}{c |}   {res}    1   {txt}{c |}   {res}    1   {txt}{c |}   {res}    1   {txt}{c |}   {res}    5   {txt}{c |}
     {c BLC}{hline 10}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BRC}

     {c TLC}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 6}{c TT}{hline 7}{c TRC}
 10. {c |} row1 {c |} row2 {c |} row3 {c |} row4 {c |} row5 {c |} row6 {c |} row7 {c |} row8 {c |} row9 {c |} row10 {c |}
     {c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   3 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   1 {txt}{c |} {res}   . {txt}{c |} {res}   3 {txt}{c |} {res}   1 {txt}{c |} {res}    3 {txt}{c |}
     {c LT}{hline 6}{c BT}{hline 3}{c TT}{hline 2}{c BT}{hline 6}{c BT}{hline 1}{c TT}{hline 4}{c BT}{hline 6}{c +}{hline 6}{c BT}{hline 4}{c TT}{hline 1}{c BT}{hline 6}{c BT}{hline 2}{c TT}{hline 3}{c BT}{hline 7}{c RT}
     {c |}  row11   {c |}   row12   {c |}   row13   {c |}   row14   {c |}   row15   {c |}   row16   {c |}
     {c |}  {res}    5   {txt}{c |}   {res}    1   {txt}{c |}   {res}    1   {txt}{c |}   {res}    1   {txt}{c |}   {res}    3   {txt}{c |}   {res}    3   {txt}{c |}
     {c BLC}{hline 10}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BT}{hline 11}{c BRC}

{com}. 
. 
. * Now we can compute the mean of min, std deviation of min, and mean/standard deviation of min for each committee
. 
. matrix StatsMinChambSen = [0,0,0]
{txt}
{com}. 
. forval i = 1/`=rowsof(A)' {c -(}
{txt}  2{com}.     summarize row`i'
{txt}  3{com}. matrix StatsMinChambSen = StatsMinChambSen \ (r(mean), r(sd), r(mean)/r(sd))
{txt}  4{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}row1 {c |}{res}         10           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}row2 {c |}{res}         10           1           0          1          1

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}row3 {c |}{res}         10         1.2    .6324555          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}row4 {c |}{res}          9    1.222222    .6666667          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}row5 {c |}{res}         10         1.4     .843274          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}row6 {c |}{res}         10         1.4    1.264911          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}row7 {c |}{res}          8         1.5    .9258201          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}row8 {c |}{res}          8        1.75    1.488048          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}row9 {c |}{res}          9    1.888889    2.666667          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 7}row10 {c |}{res}          9    2.111111    1.452966          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 7}row11 {c |}{res}          7    2.428571    1.902379          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 7}row12 {c |}{res}          8        2.75    3.284161          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 7}row13 {c |}{res}          8        4.25    3.991061          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 7}row14 {c |}{res}         10           5    6.733003          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 7}row15 {c |}{res}         10         5.4    2.633122          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 7}row16 {c |}{res}         10           6    1.699673          3          9
{txt}
{com}. 
. * These three, when sorted are the three columns of Table A8.
. matrix TableA8 = StatsMinChambSen[2..17,.] 
{txt}
{com}. 
. matrix list TableA8
{res}
{txt}TableA8[16,3]
            c1         c2         c3
 r2 {res}         1          0          .
{txt} r3 {res}         1          0          .
{txt} r4 {res}       1.2  .63245553  1.8973666
{txt} r5 {res} 1.2222222  .66666667  1.8333333
{txt} r6 {res}       1.4  .84327404  1.6601958
{txt} r7 {res}       1.4  1.2649111  1.1067972
{txt} r8 {res}       1.5   .9258201  1.6201852
{txt} r9 {res}      1.75  1.4880476  1.1760376
{txt}r10 {res} 1.8888889  2.6666667  .70833333
{txt}r11 {res} 2.1111111  1.4529663  1.4529663
{txt}r12 {res} 2.4285714  1.9023795  1.2765967
{txt}r13 {res}      2.75  3.2841611  .83735234
{txt}r14 {res}      4.25  3.9910614  1.0648796
{txt}r15 {res}         5  6.7330033  .74261066
{txt}r16 {res}       5.4  2.6331224  2.0507972
{txt}r17 {res}         6  1.6996732  3.5300904
{reset}
{com}. 
. * Saves TableA8:
. esttab matrix(TableA8) using TableA8
{res}{txt}(output written to {browse  `"TableA8.txt"'})

{com}. 
. 
. *************************************************************************************
. ** Table A6 **
. *************************************************************************************
. 
.  clear
{txt}
{com}. // Download the Senate Committee Assignments data
.  use SenateChamberSeniorityAtAssignment.dta
{txt}
{com}. 
. 
. * First let's calculate the average Republican Seniority on each committee by Congress: for all members, excluding senior most, excluding two senior most, and excluding three senior most members
. 
. *Agriculture
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 103/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Agriculture, Nutrition, and Forestry"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/11]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Agriculture, Nutrition, and Forestry" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/11]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Agriculture, Nutrition, and Forestry" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/11]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Agriculture, Nutrition, and Forestry" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/11]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8          13    8.349508          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    12.42857    8.847921          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    10.33333    7.554248          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         8.2     6.09918          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    12.66667    8.435136          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        11.8    9.003703          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8          10     8.21149          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    8.142857    6.817345          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        12.4    8.167687          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    11.44444    8.048464          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        9.75    6.670832          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    8.428571     5.96817          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    11.90909    9.438798          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    11.88889    9.006171          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8          10    7.483315          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    8.428571    6.502747          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        12.2    10.20675          3         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    10.77778    9.718253          3         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         8.5    7.387248          3         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    6.428571    4.859943          3         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    10.63636    10.53824          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         9.2     9.90847          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    7.222222    8.151346          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        5.75    7.324128          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    13.72727    9.890307          3         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        14.8    9.727395          3         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    13.22222    8.856887          3         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        11.5    7.690439          3         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        14.8    11.33137          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    15.88889    11.45038          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8          14    10.63686          3         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    11.85714     9.44155          3         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9          15    12.32883          1         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8       16.25    12.55559          1         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    14.14286    11.93634          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    11.66667    10.93008          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        14.8    13.24806          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9          15    14.03567          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8       12.75    13.15566          1         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    10.14286    11.76759          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    14.77778    12.30628          3         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        12.5     10.9414          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    10.42857    9.980934          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    9.666667    10.70825          3         31
{txt}
{com}. matrix Sen_Agriculture  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_Agriculture
{res}
{txt}Sen_Agriculture[4,1]
           c1
r1 {res} 13.265197
{txt}r1 {res} 12.907143
{txt}r1 {res} 10.940837
{txt}r1 {res} 9.1101732
{reset}
{com}. 
. 
. *ArmedServices
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 103/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Armed Services"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/11]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Armed Services" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/11]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Armed Services" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/11]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Armed Services" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/11]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         9.1    11.43533          1         38

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         6.5    5.631544          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    5.285714    4.820591          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    3.666667     2.42212          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    9.416667    11.06558          1         40

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         7.2      5.6921          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.111111    4.807402          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        4.75    2.712405          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        10.5    12.21338          1         42

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9           7    5.477226          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         5.5    3.338092          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    4.714286    2.690371          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    10.54545    12.40454          3         44

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         9.5    12.55433          3         44

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    5.666667    3.464102          3         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        4.75    2.251983          3          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    11.58333    12.22857          3         46

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    10.54545    12.25858          3         46

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10           7    3.651484          3         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.111111    2.472066          3         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13           7    7.164728          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12         5.5    4.908249          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    4.454545    3.474583          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         3.8    2.859681          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13    8.384615    7.500427          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    6.833333    5.219428          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    5.727273    3.717282          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10           5    2.981424          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         15         8.2    8.064029          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13    7.769231    7.595545          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    6.454545    4.203894          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         5.6    3.272783          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    6.833333    6.293335          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10           6    4.642796          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9           5    3.605551          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        4.25    3.011881          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    8.166667    7.004328          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    6.818182    5.473905          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         5.8     4.54117          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9           5           4          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    8.333333    7.643575          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    7.363636     7.20101          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         5.6    4.427189          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    4.555556    3.126944          1          9
{txt}
{com}. matrix Sen_ArmedServices  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_ArmedServices
{res}
{txt}Sen_ArmedServices[4,1]
           c1
r1 {res} 8.9148548
{txt}r1 {res} 7.3663488
{txt}r1 {res}  5.690896
{txt}r1 {res} 4.7452381
{reset}
{com}. 
. 
. *Appropriations
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 103/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Appropriations"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/11]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Appropriations" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/11]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Appropriations" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/11]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Appropriations" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/11]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13    13.30769    7.110844          5         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    12.16667    6.057802          5         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11          11    4.732864          5         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        10.6    4.788876          5         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         16      12.125    8.196544          3         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         14    11.57143     6.99136          3         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13    10.38462    5.620475          3         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    9.833333     5.49104          3         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         15    12.06667    7.666874          5         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         14    10.85714    6.298439          5         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13    10.23077     6.08487          5         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    9.666667     5.98989          5         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         15    13.93333    7.814516          5         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         14    12.71429    6.462062          5         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13    12.07692    6.251154          5         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12        11.5    6.157036          5         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         14    15.71429    8.061576          7         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13    14.38462    6.602253          7         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    13.66667    6.343692          7         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    12.27273    4.314879          7         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         15    17.13333    8.087615          9         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         14    15.85714    6.643182          9         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13    15.15385    6.348834          9         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12        14.5    6.157036          9         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         15    18.86667    8.365462          9         37

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         14    18.28571    8.361345          9         37

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13    16.84615    6.656402          9         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    16.16667    6.464354          9         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         14    20.42857    9.460154          5         39

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13    19.76923    9.505734          5         39

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    18.16667    7.883623          5         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    17.36364    7.736572          5         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         14          17    7.765803          5         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13    16.07692    7.239493          5         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    15.16667    6.739751          5         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    14.63636    6.801069          5         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         14    9.857143    10.36902          1         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13    8.230769    8.738362          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    6.833333    7.456947          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    5.363636    5.714416          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13    11.46154    10.46116          3         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    10.33333    10.06645          3         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    8.272727    7.444339          3         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         6.4    4.325634          3         15
{txt}
{com}. matrix Sen_Appropriations  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_Appropriations
{res}
{txt}Sen_Appropriations[4,1]
           c1
r1 {res} 14.717657
{txt}r1 {res} 13.658841
{txt}r1 {res} 12.527124
{txt}r1 {res} 11.663912
{reset}
{com}. 
. 
. *Banking
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 103/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Banking, Housing, and Urban Affairs"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/11]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Banking, Housing, and Urban Affairs" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/11]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Banking, Housing, and Urban Affairs" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/11]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Banking, Housing, and Urban Affairs" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/11]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    9.666667    7.937254          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        9.25    8.379397          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    9.285714    9.050125          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    9.666667    9.852242          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    7.166667    6.739751          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         4.8    3.823901          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         4.5    3.338092          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    3.857143    3.023716          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         6.6    5.641119          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    5.444444    4.558265          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         4.5    3.817254          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    3.571429    2.992053          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    7.166667    5.936533          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    6.454545    5.663279          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         5.8     5.51362          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    5.222222    5.517648          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10           7    5.249339          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    5.888889    4.136558          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        4.75    2.492847          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    4.142857      1.9518          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    6.818182    4.512609          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         5.8    3.155243          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    5.222222    2.728451          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8           5    2.828427          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    8.272727    5.081159          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         7.2    3.823901          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.555556    3.431877          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        6.25    3.535534          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    9.181818    5.688905          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    8.777778    3.800585          3         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8           8    3.207135          3         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    7.571429    3.207135          3         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    8.636364    6.975281          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.555556    5.637178          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         5.5    4.985694          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7           5    5.163978          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         5.6    6.801961          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    3.666667    3.162278          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        2.75    1.669046          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    2.714286    1.799471          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         7.4    6.915361          3         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.777778    7.031674          3         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         4.5    1.772811          3          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    4.428571    1.902379          3          7
{txt}
{com}. matrix Sen_Banking  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_Banking
{res}
{txt}Sen_Banking[4,1]
           c1
r1 {res} 7.5917355
{txt}r1 {res} 6.4196051
{txt}r1 {res} 5.5784993
{txt}r1 {res} 5.2204185
{reset}
{com}. 
. 
. *Budget
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 103/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Budget"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/11]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Budget" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/11]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Budget" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/11]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Budget" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/11]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    9.222222    6.119187          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        7.75    4.527693          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7           7    4.320494          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6           6    3.741657          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         14           8     6.73681          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    6.833333    5.621927          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    6.090909    5.243177          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         5.2    4.565572          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    9.666667    7.738139          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    8.272727    6.341781          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         7.4    5.947922          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.333333    5.196152          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    11.66667    7.738139          3         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    10.27273    6.341781          3         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         9.4    5.947922          3         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    8.333333    5.196152          3         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    12.81818    8.268231          5         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        11.2    6.629899          5         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    10.11111    6.009252          5         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        8.75    4.713203          5         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12        11.5    9.462846          1         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    10.45455    9.169118          1         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         8.4     6.46701          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.777778    4.176655          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12        10.5    9.307866          3         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    10.27273    9.727188          3         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10           8    6.480741          3         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.111111    2.666667          3          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    13.18182     9.44265          5         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10          13     9.93311          5         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    10.55556    6.616478          5         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         8.5     2.56348          5         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        10.4    6.669999          5         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    9.888889    6.863753          5         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        7.75     2.60494          5         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    7.285714    2.429972          5         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    8.166667    8.020806          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         8.4    8.382521          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.111111    4.484541          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        5.25    3.918819          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10          10    8.956686          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    9.444444    9.315459          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        6.75    4.949747          3         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    5.571429    3.952094          3         13
{txt}
{com}. matrix Sen_Budget  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_Budget
{res}
{txt}Sen_Budget[4,1]
           c1
r1 {res} 10.465657
{txt}r1 {res} 9.6172176
{txt}r1 {res} 7.9607897
{txt}r1 {res}  6.737518
{reset}
{com}. 
. *Commerce
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 103/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Commerce, Science, and Transportation"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/11]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Commerce, Science, and Transportation" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/11]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Commerce, Science, and Transportation" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/11]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Commerce, Science, and Transportation" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/11]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        11.2    9.016035          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    10.55556    9.315459          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        8.75    8.102028          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    7.857143    8.315218          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12         9.5    9.653073          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         9.6     9.97998          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    7.666667      8.3666          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        5.25    4.464143          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    8.454545    7.954416          3         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         8.2    8.337332          3         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    5.888889    4.255715          3         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         5.5    4.375255          3         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    10.27273    8.112841          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10          10    8.498366          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    7.666667    4.472136          3         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        7.25    4.590363          3         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    9.727273    9.089454          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         9.2    9.402127          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.555556    4.558265          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        5.75    4.131759          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    10.83333    9.203096          1         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    10.27273    9.434945          1         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         7.8     4.91709          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9           7    4.472136          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12        11.5    10.23808          1         37

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    9.181818    6.660603          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         8.2    6.124632          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    7.222222    5.607535          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    11.66667    10.89899          1         39

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10          10    6.815016          3         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    8.777778    5.953524          3         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         7.5    4.869732          3         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12         5.5    5.196152          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10           5    4.521553          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    4.111111    3.756476          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        3.75     3.84522          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13           5    5.477226          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    4.272727    4.406607          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         3.2    2.740641          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    2.555556    1.943651          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    2.818182     1.88776          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         2.4    1.349897          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    2.111111    1.054093          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8           2    1.069045          1          3
{txt}
{com}. matrix Sen_Commerce  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_Commerce
{res}
{txt}Sen_Commerce[4,1]
           c1
r1 {res} 8.7702479
{txt}r1 {res} 8.0620753
{txt}r1 {res}  6.429798
{txt}r1 {res} 5.6031746
{reset}
{com}. 
. *Energy
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 103/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Energy and Natural Resources"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/11]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Energy and Natural Resources" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/11]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Energy and Natural Resources" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/11]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Energy and Natural Resources" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/11]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10          12    8.232726          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    11.44444    8.530989          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         9.5    6.654751          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    7.857143    5.145502          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    9.727273    9.561286          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         9.2     9.90847          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9           7    7.483315          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8           5    4.780914          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    9.545455    7.802098          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         8.8    7.800285          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9           7    5.656854          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        5.75    4.527693          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    10.81818    8.600211          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10          10    8.602325          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    8.111111    6.565905          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        6.75    5.496752          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11          13    7.797435          5         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        12.2    7.728734          5         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    10.33333    5.291503          5         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8           9     3.70328          5         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    10.83333    8.799105          1         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11           9    6.387488          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         7.6    4.623611          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9           7    4.472136          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    9.333333      9.0185          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    7.181818    5.325752          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         6.4    4.903513          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    5.888889    4.910307          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12         9.5    9.539392          1         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    7.181818    5.400337          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         6.2     4.54117          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    5.444444    4.096069          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         8.2    6.876692          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    8.333333     7.28011          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8           9    7.483315          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    10.14286    7.289915          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    2.636364    2.500909          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    2.111111    1.452966          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        1.75    1.035098          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    1.571429    .9759001          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         4.4    3.272783          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    3.666667     2.44949          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         3.5     2.56348          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    3.285714    2.690371          1          9
{txt}
{com}. matrix Sen_Energy  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_Energy
{res}
{txt}Sen_Energy[4,1]
           c1
r1 {res} 9.0903581
{txt}r1 {res} 8.1017447
{txt}r1 {res} 6.9449495
{txt}r1 {res} 6.1536797
{reset}
{com}. 
. 
. *Environment
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 103/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Environment and Public Works"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/11]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Environment and Public Works" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/11]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Environment and Public Works" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/11]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Environment and Public Works" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/11]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    9.571429    7.457818          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    8.333333    7.339391          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5           7    7.348469          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4           5    6.733003          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         7.4    6.380526          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.111111    5.206833          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        4.75    3.453776          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    4.714286    3.728909          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         7.4    7.351493          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    5.888889    5.925463          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        4.25    3.535534          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    3.857143    3.625308          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    8.636364    7.579878          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    7.888889     6.17342          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        6.25    3.991061          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    5.857143    4.140393          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    10.77778    7.579211          3         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8       10.75    8.102028          3         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7           9    6.928203          3         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6           9    7.589466          3         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         8.8    7.269418          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    8.555556    7.666667          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         6.5    4.869732          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7           5    2.581989          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         8.2    8.904431          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    7.666667    9.273618          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        5.25     6.18177          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    3.285714      2.9277          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        11.6    9.094565          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        12.5    9.365591          3         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    10.14286     7.10466          3         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    10.33333    7.763161          3         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9          13          10          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8       12.75    10.66034          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    13.28571    11.39758          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6          15    11.45426          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         7.5    5.631544          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    6.142857    4.450789          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    6.333333    4.844241          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5           7     5.09902          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    9.222222    6.359595          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         9.5    6.740072          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    8.142857    5.984106          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    8.666667    6.377042          1         15
{txt}
{com}. matrix Sen_Environment  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_Environment
{res}
{txt}Sen_Environment[4,1]
           c1
r1 {res} 9.2825266
{txt}r1 {res} 8.7352092
{txt}r1 {res} 7.3549784
{txt}r1 {res} 7.0649351
{reset}
{com}. 
. *Finance
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 103/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Finance"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/11]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Finance" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/11]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Finance" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/11]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Finance" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/11]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    18.77778    4.409586         13         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8          18           4         13         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7          17     3.05505         13         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6          16     1.67332         13         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13    17.61538    5.909575          7         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    17.36364    5.352994          7         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    17.44444    3.282953         15         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        16.5    1.772811         15         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    16.09091     5.75247          9         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10          15    4.714045          9         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    14.33333    4.472136          9         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8          14    4.659859          9         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    16.16667    6.952218          7         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        15.8    5.593647          7         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9          15    5.291503          7         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        14.5    5.424811          7         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        14.8    7.020605          7         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8          15    7.010197          7         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    13.57143    6.187545          7         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    12.33333    5.750362          7         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    13.18182    7.613385          5         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        12.2    7.254118          5         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    10.55556    5.364492          5         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8           9    2.828427          5         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    13.54545    7.216144          7         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        12.4     6.46701          7         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    10.55556    2.962731          7         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        9.75    1.832251          7         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12          14    7.885545          5         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        13.4    7.167829          5         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8       12.25     3.19598          9         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    11.28571    1.799471          9         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        13.6    8.540101          5         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    12.11111    7.557189          5         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        9.75    2.815772          5         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    9.285714    2.690371          5         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    13.36364    9.542251          5         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    12.11111    7.423686          5         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8          10    4.140393          5         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    9.285714      3.9036          5         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    13.18182    10.67538          3         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10          11    8.273116          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    8.777778    4.630815          3         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        8.25    4.652188          3         15
{txt}
{com}. matrix Sen_Finance  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_Finance
{res}
{txt}Sen_Finance[4,1]
           c1
r1 {res} 14.938497
{txt}r1 {res} 14.035078
{txt}r1 {res} 12.658009
{txt}r1 {res} 11.835498
{reset}
{com}. 
. *ForeignRelations
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 103/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Foreign Relations"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/11]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Foreign Relations" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/11]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Foreign Relations" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/11]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Foreign Relations" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/11]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    10.11111    7.623064          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        8.75    6.881653          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    7.571429    6.502747          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    6.333333     6.15359          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         7.4    8.682038          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    5.666667    7.141428          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8           4    5.451081          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    2.142857    1.573592          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         6.8    8.664102          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    4.777778    6.200358          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        2.75     1.28174          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    2.428571    .9759001          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    7.909091     8.64239          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.555556    6.306963          3         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         4.5    1.414214          3          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    4.142857    1.069045          3          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         9.4    9.512565          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         7.5    7.387248          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7           5    2.309401          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6           5    2.529822          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         6.6    7.705698          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    4.333333           3          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8           4    3.023716          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    3.857143    3.236694          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         7.2    8.024961          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    4.777778    2.538591          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        4.25     2.12132          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    3.857143      1.9518          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12    6.666667      8.3048          1         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         4.8     3.32666          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    4.111111    2.666667          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8           4    2.828427          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8           7    10.79682          1         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    3.571429     5.12696          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6           4    5.477226          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         4.2     6.09918          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    7.888889    10.58825          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        4.75    5.175492          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7           5    5.537749          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    5.333333    5.988879          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        6.25    7.704359          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        6.25    7.704359          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    6.428571    8.303757          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    6.666667    9.070097          1         25
{txt}
{com}. matrix Sen_ForeignRelations  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_ForeignRelations
{res}
{txt}Sen_ForeignRelations[4,1]
           c1
r1 {res}  7.565978
{txt}r1 {res} 5.6120491
{txt}r1 {res} 4.6919192
{txt}r1 {res} 4.3601732
{reset}
{com}. 
. *GovtAffairs -- note this committee exists only in congresses 103 to 108
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 103/108 {c -(} 
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Governmental Affairs"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/6]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Governmental Affairs" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/6]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Governmental Affairs" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/6]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Governmental Affairs" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/6]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    14.33333    9.179688          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5        12.6    9.099451          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         9.5    6.806859          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    7.666667    7.023769          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        14.6    8.783824          3         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        14.5     8.40068          3         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6          11    6.196773          3         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         9.8     6.09918          3         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13    16.23077    10.75604          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    18.09091    10.67197          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    18.55556     10.5251          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    15.85714    10.44715          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    16.11111    11.75207          1         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8       17.25    12.02082          1         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    15.57143    11.92836          1         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6          13    10.73313          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    13.66667    11.53256          3         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    15.85714    12.21241          3         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6          13    10.50714          3         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5        14.6    10.89954          3         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    11.66667    11.40175          1         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8       12.25    12.04456          1         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7           9    8.406347          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    9.666667    9.003703          1         23
{txt}
{com}. matrix Sen_GovtAffairs  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_GovtAffairs
{res}
{txt}Sen_GovtAffairs[4,1]
           c1
r1 {res} 14.434758
{txt}r1 {res} 15.091342
{txt}r1 {res} 12.771164
{txt}r1 {res} 11.765079
{reset}
{com}. 
. 
. *Health  -- note this committee exists only in congresses 107 to 113 congresses
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 107/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Health, Education, Labor, and Pensions"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/7]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Health, Education, Labor, and Pensions" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/7]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Health, Education, Labor, and Pensions" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/7]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Health, Education, Labor, and Pensions" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/7]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         8.6    5.947922          5         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    8.777778    6.280481          5         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        8.75    6.713526          5         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7           9    7.211103          5         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    8.818182    7.068496          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         8.6    7.411702          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    8.555556    7.859884          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        8.75    8.379397          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    9.181818    7.769404          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         9.2    8.189424          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    8.777778    8.569973          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         8.5    9.118271          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10          10    8.498366          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    9.888889    9.006171          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        9.25    9.407444          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    9.857143    9.990472          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10          11    9.189366          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9          11    9.746794          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        10.5    10.29563          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    11.28571     10.8584          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10          11    10.15436          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    10.77778    10.74451          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8       11.25    11.38608          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    12.14286    11.99206          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        10.6    9.834181          1         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    10.77778    10.41367          1         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8       10.25    11.00325          1         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    10.71429    11.79992          1         35
{txt}
{com}. matrix Sen_Health  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_Health
{res}
{txt}Sen_Health[4,1]
           c1
r1 {res} 9.8857143
{txt}r1 {res} 9.8603175
{txt}r1 {res} 9.6190476
{txt}r1 {res} 10.035714
{reset}
{com}. 
. *HomelandSec  -- note this committee exists only in congresses 109 to 113 congresses
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 109/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Homeland Security and Governmental Affairs"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/5]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Homeland Security and Governmental Affairs" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/5]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Homeland Security and Governmental Affairs" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/5]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Homeland Security and Governmental Affairs" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/5]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    15.22222     13.5072          1         37

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8          16    14.22272          1         37

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7          13    12.32883          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6          14    13.19091          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8          17    14.81312          3         39

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    17.85714    15.78426          3         39

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    14.33333     13.9523          3         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5        15.4    15.32319          3         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    10.14286    6.202918          3         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6          10     6.78233          3         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5        11.4    6.542171          5         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4           9    4.320494          5         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        6.75     7.95972          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    6.666667    8.617811          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5           7    9.591663          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         8.5    10.37625          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    8.142857    8.783101          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    8.333333    9.605554          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5           5    5.656854          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5           5    5.656854          1         15
{txt}
{com}. matrix Sen_HomelandSec  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_HomelandSec
{res}
{txt}Sen_HomelandSec[4,1]
           c1
r1 {res} 11.451587
{txt}r1 {res} 11.771429
{txt}r1 {res} 10.146667
{txt}r1 {res}     10.38
{reset}
{com}. 
. *Judiciary
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 103/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Judiciary"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/11]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Judiciary" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/11]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Judiciary" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/11]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Judiciary" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/11]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8      16.125    9.818896          3         38

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7          16    10.59874          3         38

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    12.33333    4.676181          3         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5        11.8     5.01996          3         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        11.7    12.32928          1         40

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    10.88889    12.79106          1         40

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        7.25     7.12641          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    5.857143     6.41427          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        11.5    13.00641          1         42

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    10.44444    13.33333          1         42

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         6.5    6.568322          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7           5    5.416026          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        13.5    13.07457          3         44

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    12.44444    13.40812          3         44

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         8.5    6.740072          3         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7           7    5.656854          3         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    17.33333    13.13393          5         46

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8      16.375    13.70023          5         46

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    12.14286    7.197883          5         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    10.66667    6.623192          5         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        11.4    9.834181          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    9.666667    8.660254          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8           8    7.559289          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    5.857143      4.8795          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        12.8    10.08629          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    11.44444    9.683893          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        9.25    7.592289          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7           7    4.472136          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9          15    10.67708          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        13.5    10.35098          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7          11    8.164966          3         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    8.333333    4.501851          3         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    16.55556    11.34803          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8       15.25    11.38608          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7          13    10.19804          3         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    10.66667    8.891944          3         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8       13.75     11.5604          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    11.57143    10.56499          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6           8    5.176872          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         6.6    4.335897          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8          13     13.2665          1         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    10.42857    11.98412          1         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    6.333333    5.609516          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         4.6     4.09878          1          9
{txt}
{com}. matrix Sen_Judiciary  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_Judiciary
{res}
{txt}Sen_Judiciary[4,1]
           c1
r1 {res} 13.878535
{txt}r1 {res} 12.546717
{txt}r1 {res} 9.3008658
{txt}r1 {res} 7.5800866
{reset}
{com}. 
. *Labor  -- note this committee exists only in congresses 103 to 106 congresses
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 103/106 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Labor and Human Resources"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/4]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Labor and Human Resources" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/4]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Labor and Human Resources" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/4]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Labor and Human Resources" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/4]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    13.71429    12.36547          1         38

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6        13.5    13.53144          1         38

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5        15.2    14.39444          1         38

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4       17.75    15.26161          1         38

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         5.4    5.641119          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        4.25    4.399675          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    3.857143    4.598136          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    3.333333    4.802777          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         6.4    6.040603          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.111111    6.333333          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        5.75    6.670832          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    5.857143    7.197883          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         4.8    2.573368          3         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    4.111111    1.452966          3          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        3.75    1.035098          3          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    3.571429    .9759001          3          5
{txt}
{com}. matrix Sen_Labor  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_Labor
{res}
{txt}Sen_Labor[4,1]
           c1
r1 {res} 7.5785714
{txt}r1 {res} 6.9930556
{txt}r1 {res} 7.1392857
{txt}r1 {res} 7.6279762
{reset}
{com}. 
. *Rules
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 103/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Rules and Administration"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/11]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Rules and Administration" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/11]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Rules and Administration" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/11]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Rules and Administration" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/11]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    19.57143    6.704654          9         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    18.66667    6.860515          9         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5          17    6.164414          9         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4          16     6.63325          9         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        17.4    9.276014          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        17.5    9.055385          1         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    15.85714     8.39501          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    14.66667    8.524475          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    15.44444    8.762293          3         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8          15    9.258201          3         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    13.57143    8.997354          3         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6          11    6.449806          3         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    17.44444    8.762293          5         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8       17.75    9.315885          5         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    16.42857    9.216962          5         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6          14    7.238784          5         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    19.44444    8.762293          7         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8       19.75    9.315885          7         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    19.28571    9.961832          7         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    17.66667    9.852242          7         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        15.4    10.14561          1         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    15.44444    10.76001          1         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8          13    8.417668          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    12.14286    8.706866          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        16.2    9.852242          3         37

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    16.11111    10.44563          3         37

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        13.5    7.387248          3         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    12.42857    7.276839          3         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10        16.8    11.05341          5         39

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8       18.25    11.85327          5         39

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    15.28571    9.050125          5         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6          14    9.186947          5         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8       13.75    8.680849          5         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    13.57143    9.360505          5         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6          12    9.186947          5         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         8.6    4.335897          5         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        15.5    10.35098          1         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    16.71429    10.54695          1         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    15.33333     10.8382          1         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5        12.2      8.5557          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8       15.25    11.82914          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    15.28571    12.77647          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    13.33333    12.80104          1         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         9.4    9.423375          1         25
{txt}
{com}. matrix Sen_Rules  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_Rules
{res}
{txt}Sen_Rules[4,1]
           c1
r1 {res} 16.564069
{txt}r1 {res} 16.731241
{txt}r1 {res} 14.963203
{txt}r1 {res} 12.918615
{reset}
{com}. 
. 
. *SmallBusiness
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 103/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Small Business and Entrepreneurship"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/11]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Small Business and Entrepreneurship" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/11]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Small Business and Entrepreneurship" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/11]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Small Business and Entrepreneurship" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/11]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10           7    6.798693          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.111111    6.565905          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        4.75    5.496752          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    4.428571      5.8554          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    6.454545    5.802821          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         6.2     6.05163          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9           5           5          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        4.75    5.284749          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         6.6    5.232378          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.111111    5.301991          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        5.75    5.548488          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    5.857143    5.984106          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         5.4    4.195235          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    4.555556    3.431877          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        3.75     2.60494          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    3.285714    2.429972          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.333333     5.09902          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        5.25     4.20034          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    4.142857    3.023716          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    3.333333     2.33809          1          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10         7.6    5.337498          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    7.444444    5.637178          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        6.25    4.652188          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7           5    3.265986          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         10           7    6.733003          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    6.555556    6.984109          1         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8           5    5.554921          1         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    3.285714      2.9277          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    7.222222     6.51494          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8         6.5    6.568322          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    4.428571    3.207135          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    4.333333     3.50238          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8           7    7.250616          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    6.142857    7.380799          1         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    3.666667    3.723797          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         3.8    4.147288          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    4.555556    5.547772          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        3.25     4.20034          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7           3    4.472136          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6           3    4.898979          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    4.333333    4.472136          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        4.25    4.773438          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    3.857143    5.014265          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6           4    5.477226          1         15
{txt}
{com}. matrix Sen_SmallBusiness  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_SmallBusiness
{res}
{txt}Sen_SmallBusiness[4,1]
           c1
r1 {res}   6.31809
{txt}r1 {res} 5.6700577
{txt}r1 {res}  4.508658
{txt}r1 {res}  4.097619
{reset}
{com}. 
. *VeteransAffairs
. matrix All=0
{txt}
{com}. matrix All_exclu1senior=0
{txt}
{com}. matrix All_exclu2senior=0
{txt}
{com}. matrix All_exclu3senior=0
{txt}
{com}. forval j = 103/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Veterans' Affairs"
{txt}  3{com}.         matrix All = All[1,1] + [r(mean)/11]
{txt}  4{com}. 
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Veterans' Affairs" & rank > 1
{txt}  5{com}.         matrix All_exclu1senior = All_exclu1senior[1,1] + [r(mean)/11]
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & committeename == "Veterans' Affairs" & rank > 2
{txt}  7{com}.         matrix All_exclu2senior = All_exclu2senior[1,1] + [r(mean)/11]
{txt}  8{com}.         
.         summarize chamberseniority if party == "R" & congress == `j' & committeename == "Veterans' Affairs" & rank > 3
{txt}  9{com}.         matrix All_exclu3senior = All_exclu3senior[1,1] + [r(mean)/11]
{txt} 10{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5        16.8    12.45793          5         38

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4       17.75    14.17451          5         38

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    19.33333    16.92139          5         38

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          2        21.5    23.33452          5         38

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8      13.375    12.04678          3         40

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    12.85714    12.91548          3         40

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6        12.5    14.11028          3         40

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5          12    15.71623          3         40

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7          14    13.69915          1         42

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6        13.5    14.93653          1         42

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5        12.8    16.58915          1         42

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         5.5     3.41565          1          9

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7          16    13.69915          3         44

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6        15.5    14.93653          3         44

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5        14.8    16.58915          3         44

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         7.5     3.41565          3         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    18.83333    14.81103          5         46

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5        18.4    16.51666          5         46

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4       17.75    18.99781          5         46

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3    8.333333     3.05505          5         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8        8.75    7.285014          1         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    6.714286    4.820591          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6           6    4.857983          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         4.6    3.847077          1         11

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          8           8    8.815571          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7           7      9.0185          1         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6           4    4.690416          1         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         2.2    1.788854          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          9    8.777778    8.969083          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    8.714286    9.268482          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    5.666667    5.006662          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         6.2    5.403702          1         15

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    9.571429    11.98412          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    10.66667    12.73839          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         7.4    11.08152          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         8.5    12.47664          1         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    2.714286    1.799471          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    2.333333    1.632993          1          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         1.8    1.095445          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         1.5           1          1          3

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          6    4.666667    1.966384          3          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          5         4.2    1.788854          3          7

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          4         3.5           1          3          5

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          3           3           0          3          3
{txt}
{com}. matrix Sen_VeteransAffairs  = All \ All_exclu1senior \ All_exclu2senior \ All_exclu3senior
{txt}
{com}. 
. matrix list Sen_VeteransAffairs
{res}
{txt}Sen_VeteransAffairs[4,1]
           c1
r1 {res} 11.044408
{txt}r1 {res} 10.694156
{txt}r1 {res} 9.5954545
{txt}r1 {res} 7.3484848
{reset}
{com}. 
. 
. 
. 
. matrix TableA6Column1 = Sen_SmallBusiness[1,1] \ Sen_ForeignRelations[1,1] \ Sen_Labor[1,1] \ Sen_Banking[1,1] \ Sen_Commerce[1,1] \ Sen_ArmedServices[1,1] \ Sen_Energy[1,1] \ Sen_Environment[1,1] \ Sen_Health[1,1] \ Sen_Budget[1,1] \ Sen_VeteransAffairs[1,1] \ Sen_HomelandSec[1,1] \ Sen_Agriculture[1,1] \ Sen_Judiciary[1,1] \Sen_GovtAffairs[1,1] \ Sen_Appropriations[1,1] \Sen_Finance[1,1] \Sen_Rules[1,1]
{txt}
{com}. 
. matrix list TableA6Column1
{res}
{txt}TableA6Column1[18,1]
            c1
 r1 {res}   6.31809
{txt} r2 {res}  7.565978
{txt} r3 {res} 7.5785714
{txt} r4 {res} 7.5917355
{txt} r5 {res} 8.7702479
{txt} r6 {res} 8.9148548
{txt} r7 {res} 9.0903581
{txt} r8 {res} 9.2825266
{txt} r9 {res} 9.8857143
{txt}r10 {res} 10.465657
{txt}r11 {res} 11.044408
{txt}r12 {res} 11.451587
{txt}r13 {res} 13.265197
{txt}r14 {res} 13.878535
{txt}r15 {res} 14.434758
{txt}r16 {res} 14.717657
{txt}r17 {res} 14.938497
{txt}r18 {res} 16.564069
{reset}
{com}. 
. 
. matrix TableA6Column2 = Sen_ForeignRelations[2,1] \ Sen_SmallBusiness[2,1] \ Sen_Banking[2,1] \ Sen_Labor[2,1]  \ Sen_ArmedServices[2,1] \ Sen_Commerce[2,1] \ Sen_Energy[2,1] \ Sen_Environment[2,1] \  Sen_Budget[2,1] \Sen_Health[2,1] \ Sen_VeteransAffairs[2,1] \ Sen_HomelandSec[2,1] \ Sen_Judiciary[2,1] \Sen_Agriculture[2,1] \  Sen_Appropriations[2,1] \Sen_Finance[2,1] \Sen_GovtAffairs[2,1] \Sen_Rules[2,1]
{txt}
{com}. 
. matrix list TableA6Column2
{res}
{txt}TableA6Column2[18,1]
            c1
 r1 {res} 5.6120491
{txt} r2 {res} 5.6700577
{txt} r3 {res} 6.4196051
{txt} r4 {res} 6.9930556
{txt} r5 {res} 7.3663488
{txt} r6 {res} 8.0620753
{txt} r7 {res} 8.1017447
{txt} r8 {res} 8.7352092
{txt} r9 {res} 9.6172176
{txt}r10 {res} 9.8603175
{txt}r11 {res} 10.694156
{txt}r12 {res} 11.771429
{txt}r13 {res} 12.546717
{txt}r14 {res} 12.907143
{txt}r15 {res} 13.658841
{txt}r16 {res} 14.035078
{txt}r17 {res} 15.091342
{txt}r18 {res} 16.731241
{reset}
{com}. 
. 
. matrix TableA6Column3 = Sen_SmallBusiness[3,1] \ Sen_ForeignRelations[3,1] \  Sen_Banking[3,1] \ Sen_ArmedServices[3,1] \ Sen_Commerce[3,1] \ Sen_Energy[3,1] \ Sen_Labor[3,1]  \ Sen_Environment[3,1] \  Sen_Budget[3,1]  \ Sen_Judiciary[3,1] \Sen_VeteransAffairs[3,1] \Sen_Health[3,1] \ Sen_HomelandSec[3,1] \ Sen_Agriculture[3,1] \  Sen_Appropriations[3,1] \Sen_Finance[3,1] \Sen_GovtAffairs[3,1] \Sen_Rules[3,1]
{txt}
{com}. 
. matrix list TableA6Column3
{res}
{txt}TableA6Column3[18,1]
            c1
 r1 {res}  4.508658
{txt} r2 {res} 4.6919192
{txt} r3 {res} 5.5784993
{txt} r4 {res}  5.690896
{txt} r5 {res}  6.429798
{txt} r6 {res} 6.9449495
{txt} r7 {res} 7.1392857
{txt} r8 {res} 7.3549784
{txt} r9 {res} 7.9607897
{txt}r10 {res} 9.3008658
{txt}r11 {res} 9.5954545
{txt}r12 {res} 9.6190476
{txt}r13 {res} 10.146667
{txt}r14 {res} 10.940837
{txt}r15 {res} 12.527124
{txt}r16 {res} 12.658009
{txt}r17 {res} 12.771164
{txt}r18 {res} 14.963203
{reset}
{com}. 
. matrix TableA6Column4 = Sen_SmallBusiness[4,1] \ Sen_ForeignRelations[4,1] \  Sen_ArmedServices[4,1] \ Sen_Banking[4,1] \ Sen_Commerce[4,1] \  Sen_Energy[4,1] \ Sen_Budget[4,1]   \ Sen_Environment[4,1] \   Sen_VeteransAffairs[4,1] \Sen_Judiciary[4,1] \Sen_Labor[4,1] \Sen_Agriculture[4,1] \ Sen_Health[4,1] \ Sen_HomelandSec[4,1] \  Sen_Appropriations[4,1] \Sen_GovtAffairs[4,1] \ Sen_Finance[4,1] \Sen_Rules[4,1]
{txt}
{com}. 
. matrix list TableA6Column4
{res}
{txt}TableA6Column4[18,1]
            c1
 r1 {res}  4.097619
{txt} r2 {res} 4.3601732
{txt} r3 {res} 4.7452381
{txt} r4 {res} 5.2204185
{txt} r5 {res} 5.6031746
{txt} r6 {res} 6.1536797
{txt} r7 {res}  6.737518
{txt} r8 {res} 7.0649351
{txt} r9 {res} 7.3484848
{txt}r10 {res} 7.5800866
{txt}r11 {res} 7.6279762
{txt}r12 {res} 9.1101732
{txt}r13 {res} 10.035714
{txt}r14 {res}     10.38
{txt}r15 {res} 11.663912
{txt}r16 {res} 11.765079
{txt}r17 {res} 11.835498
{txt}r18 {res} 12.918615
{reset}
{com}. 
. * Saves Table 6 by columns
. esttab matrix(TableA6Column1) using TableA6Column1
{res}{txt}(output written to {browse  `"TableA6Column1.txt"'})

{com}. esttab matrix(TableA6Column2) using TableA6Column2
{res}{txt}(output written to {browse  `"TableA6Column2.txt"'})

{com}. esttab matrix(TableA6Column3) using TableA6Column3
{res}{txt}(output written to {browse  `"TableA6Column3.txt"'})

{com}. esttab matrix(TableA6Column4) using TableA6Column4
{res}{txt}(output written to {browse  `"TableA6Column4.txt"'})

{com}. 
. 
. 
. 
. *************************************************************************************
. ** Figure C1 **
. *************************************************************************************
. 
. 
. 
. clear
{txt}
{com}. // Download the Senate Committee Assignments data
. use SenateChamberSeniorityAtAssignment.dta
{txt}
{com}. 
. * First let's calculate the number of new assignments by party by Congress for non-freshmen; and the number of committee assignments of non-freshmen by party by Congress
. matrix NumNonfreshmenNewAssignments= [0,0]
{txt}
{com}. forval j = 104/113 {c -(}
{txt}  2{com}.         summarize chamberseniority if newtocommittee == "1" & party == "R" & congress == `j' & chamberseniority > 1
{txt}  3{com}.         matrix Rcount_new = r(N)
{txt}  4{com}. 
.         summarize chamberseniority if newtocommittee == "1" & party == "D" & congress == `j' & chamberseniority > 1
{txt}  5{com}.         matrix Dcount_new = r(N)
{txt}  6{com}.         
.                 summarize chamberseniority if party == "R" & congress == `j' & chamberseniority > 1
{txt}  7{com}.         matrix Rcount_total = r(N)
{txt}  8{com}. 
.         summarize chamberseniority if party == "D" & congress == `j' & chamberseniority > 1
{txt}  9{com}.         matrix Dcount_total = r(N)
{txt} 10{com}.         
.         * Percentage new assignments:
.         matrix PercentageNewCommittee_Dem = Dcount_new[1,1] / Dcount_total[1,1]
{txt} 11{com}.         matrix PercentageNewCommittee_Rep = Rcount_new[1,1] / Rcount_total[1,1]
{txt} 12{com}.         
.         matrix Counts = PercentageNewCommittee_Dem, PercentageNewCommittee_Rep
{txt} 13{com}. 
.         matrix NumNonfreshmenNewAssignments = NumNonfreshmenNewAssignments \ Counts
{txt} 14{com}. {c )-}

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         53    9.867925    6.355003          3         27

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         16       8.125    8.325663          3         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        193    12.83938    8.413166          3         40

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        170        14.4    9.137607          3         37

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         23    8.391304    5.766196          3         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         14         8.5     4.62019          2         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        187    12.04278    8.587205          3         42

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        150       14.54    9.168541          2         39

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         17    7.588235    5.184819          3         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         11    6.636364    5.201398          3         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        202    12.22277    8.833725          3         44

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        159    14.20126    9.615244          3         41

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         39    6.897436    4.587138          3         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         46    10.15217    8.687072          3         43

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        197    12.72081    9.113694          3         46

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        181    14.14917    10.18577          3         43

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         41    8.317073    6.702384          3         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}          7    8.142857    7.470577          3         19

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        189     12.5873    8.400801          3         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        189    14.66138    10.94967          3         45

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         16       9.375    8.269422          3         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         12        6.25    2.988615          3         13

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        194    12.83505    8.882282          3         37

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        168    16.04167    11.26031          3         47

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         29    6.448276    4.272723          3         17

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         17    9.823529    5.790459          3         21

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        198    13.11111    9.660626          3         39

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        171    17.02924    11.42362          3         49

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         27    10.11111    7.732714          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         13          12    8.346656          3         29

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        166    12.74699    8.882183          3         31

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        165    16.51515     11.0352          3         49

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         14    6.428571    4.925823          3         23

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         19    8.473684    10.74641          3         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        138    12.05797    9.145034          3         33

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        210    12.42381    10.43258          3         47

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         24    6.583333    5.897064          3         25

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}         26    6.961538    3.423224          3         16

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        164    10.34146    9.164106          3         35

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
chambersen~y {c |}{res}        201    12.17413    9.162125          3         37
{txt}
{com}. matrix NumNonfreshmenNewAssignments = NumNonfreshmenNewAssignments[2..11,.]
{txt}
{com}. 
. 
. 
. ** Figure C1 ** 
. * is made by graphing these Democrat percentage new assignments in Column 1 by Congress next to these Republican percentage new assignments in Column 2 by Congress.
. matrix list NumNonfreshmenNewAssignments
{res}
{txt}NumNonfreshmenNewAssignments[10,2]
           c1         c2
r1 {res} .09411765   .2746114
{txt}r1 {res} .09333333  .12299465
{txt}r1 {res} .06918239  .08415842
{txt}r1 {res} .25414365  .19796954
{txt}r1 {res} .03703704  .21693122
{txt}r1 {res} .07142857  .08247423
{txt}r1 {res}  .0994152  .14646465
{txt}r1 {res} .07878788   .1626506
{txt}r1 {res} .09047619  .10144928
{txt}r1 {res} .12935323  .14634146
{reset}
{com}. 
. * Saves Figure C1 data
. esttab matrix(NumNonfreshmenNewAssignments) using FigureC1Data
{res}{txt}(output written to {browse  `"FigureC1Data.txt"'})

{com}. 
. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/ashutosh/Desktop/SenateCommitteeAssignments.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 2 Jun 2025, 10:31:51
{txt}{.-}
{smcl}
{txt}{sf}{ul off}